How do i add an external php file to my html?
I've been learning php in SoloLearn but i have not seen if i can make it without the html tags and if i can add it into my html.
add following in your html: <?php include "yourExternalFile.php"; ?> you can replace "include" with include_once or require or require_once according to the critical importance of data stored in the php file.
the php script will be launched together with the page loading.
Thank you.. how do i start an external php code? do i still have to add the html tags?