Hey everyone. First of all let me say i just stumbled onto XAMPP, and i think it has so far been the best find in my conquest to learn PHP.
Anyways onto my problem ...
I am having an issue trying to run a HTML file with PHP code in it. Here is a copy of the file i created called ex3-2.htm ...
<h3>This part is written in HTML</h3>
echo "This was written in PHP using echo";
The html portion loads up ok, but then the rest of it is blank. It's like the PHP code gets left out.
If i create a pure PHP file and load it on its own, it works fine (ex3-1.php).
I have tried to look at the text book i am learning from and there is no mention as to why the php code is being left out, even though this is an exercise i copied from a book.
If anyone can tell me what i am doing wrong, it will be much appreciated.