Jump to content

So I must be doing something wrong.


Dark57

Recommended Posts

I'm just learning PHP and I got my WAMP server working, to what I hope is properly.  Yet I'm trying to write a simple Hello World tutorial and I'm getting no output.

 

<html>
<body>

<?php
echo "Hello World";
?>

</body>
</html> 

 

This should write Hello World to the page right? Its saved in my WAMP's www directory folder with the index.php file and it has a .php extension.

Link to comment
https://forums.phpfreaks.com/topic/196877-so-i-must-be-doing-something-wrong/
Share on other sites

If you go directly to http://localhost it should show up the Wamp page.  It has done that for me each time I have installed it.  Towards the bottom half of the page, it should show the list of folders within your www directory.  Wamp is a very useful tool, I use it all the time.  Enjoy.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.