Inserting PHP variable into HTML form
-
I have a form opened and closed thourgh PHP shortcodes. This form contains HTML blocks(im using elementor). I want to set a PHP variable for the value of some form inputs but ther PHP code prints out as plain text so the value is “<?php $whatever ?>”.
How can I use PHP code there? the form starts after a <?php and ends before ?> so that should be a PHP block.
Sorry for my english feel free to ask if you don’tudnersand and thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Inserting PHP variable into HTML form’ is closed to new replies.