I'm currently trying to learn php. I've downloaded xampp for windows to view the files. When i open up a file i've been working on it shows the code that has been actually been typed in.
For example, i'm working out of a php book and in one of the examples it shows to type
<? php echo "<p>order processed at";
echo date ('H;i, JS F Y ');
echo"</p>";
?>
Now when I try to view it in the browser it shows everything as shown expept <?php echo in the first line, but it shows the rest as is.
I've saved the file in Htdocs in the xampp folder, I don't know what else to do.
Can someone help me with this I'd really appreciate it.
For example, i'm working out of a php book and in one of the examples it shows to type
<? php echo "<p>order processed at";
echo date ('H;i, JS F Y ');
echo"</p>";
?>
Now when I try to view it in the browser it shows everything as shown expept <?php echo in the first line, but it shows the rest as is.
I've saved the file in Htdocs in the xampp folder, I don't know what else to do.
Can someone help me with this I'd really appreciate it.