Good morning!
Using HTML forms with $POST and $GET, I see how to pass data from HTML to PHP. But how do I pass data from PHP to HTLM? I do not want the php code in my html file and I do not want to use an include/require statement to insert my php functionality in the html file.
I want to pass a directory location and file name from my my_php.php file to index.htm. How would I do that?
On a side note: is it possible to pass variable data between php files without include/require or global_register? For example: File_1.php creates $MyVar1. I want to pass $MyVar1 to File_2.php so it is available to a number of functions residing in File_2.php.
Thank you for your help! 🙂