Hi all,
I'm taking a web programming class, and we're doing a section on PHP. Now I'm not trying to get anyone to do my homework for me, the "Hello World" program isnt it. Ive got to write a much larger more complicated PHP program. But I can't even get the Hello World program to function properly, and I'm not sure what I'm doing wrong.
<html>
<body>
<?php echo "<p>Hello, world!</p>" ?>
</body>
</html>
Thats the code I'm using. When I load the site the output I get is:
Hello, world!
" ?>
Its almost as if my browsers (I tried using both Internet Explorer and Mozilla Firefox) dont recognize the PHP code. If I try the same code without the <p> and </p> , then I get a blank screen. Has this problem come up before for anyone else?