Hi,
I recently installed XAMPP and am trying a simple php code. I started both apahce and mysql on the program. I created a file in the htdocs directory and typed in localhost/test.php but get website can not be found. Here is the code.
<html>
<head><title>PHP Test</title></head>
<body>
<p>This is an HTML line</p>
<?php
echo "<p>This is a PHP line</P>";
phpinfo();
?>
</Body><\html>
I saved the text as test.php but my computer still reads it as a text. However, used a converter and made it to a .php file but still nothing. I don't know whats going on. Please help. : (