Log in

View Full Version : PHP in wamp5



sketchboy123
01-25-2008, 07:39 AM
Excuse me if this is the wrong place to post but I'm new to PHP and WAMP5. None of my scripts work but they work online. I'm placing them in the www folder. Is there something wrong with the following script? Thanks.
Dan


<HTML>
<HEAD>
<TITLE>My First PHP Page</TITLE>
</HEAD>
<BODY>
<?php
echo "Hello World!";
?>
</BODY>
</HTML>

thetestingsite
01-25-2008, 02:52 PM
There is nothing wrong with the script you posted, but did you make sure that the file has .php as the extension instead of .html or other?

Hope this helps.