I need help with PHP. It just displays the code.?

  • Thread starter Thread starter buddy_ca111
  • Start date Start date
B

buddy_ca111

Guest
Help I am new to PHP and so I got the book php5 for dummies. I have followed it to the Letter but the first example isn't working, here is the code:
<html>
<head>
<title>
PHP Test
</title>
</head>
<body>
<p>This is a HTML line</p>
<?php
echo "<p>This is a php line</p>";
phpinfo();
?>
</body>
</html>

Also I have done the stuff with IIS and installed hp and apache.
My operating system is Windows Vista Home Premium SP1

Can someone please help?
 
Back
Top