External PHP execution problem- read description
Hi. So I have an external PHP file and want it to be executed using <form> in html The basic project is to fill the form and of course, on submit, a PHP file is executed. The PHP file is referenced elsewhere in the HTML. heres the link for an example: https://code.sololearn.com/W5l83JmFIcWM/#html Okay so the PHP displays the content of the input text element and places it elsewhere in the body. As you can see, I placed the php file include code in the area that i want the php to be placed (using echo, although i am open to other methods). I would rather have the PHP be in an external file. Is there some way in PHP to append elements? Im REALLY bad at PHP so PLEASE give me a suggestion. I would rather you list methods or factors that would help with this task rather than posting a piece of code that does it all for me. Thanks!