- Code: Select all
<p>This is an HTML line</p>
echo "<p>This is a PHP line</p>";
I view this page in my browser and the display is...
This is an HTML line
This is a PHP line
When I installed XAMPP everything seamed to be okay. I got green lights for apache and mysql. I clicked thru the XAMPP welcome/example pages. The one that show the phpinfo() displays fine.
However, when I create my own test.php file with this code and put it into the htdocs directory and access it thru my brownser, something isn't right. I am not getting the long table of php info.