Cannot get the PHP to display using WAMP!

One of the problems that many first-time user and others, like me, have problems with is getting PHP to work in WAMP. When you create your first php page, hello.php and you try to view that page in the browser using Notepad ++ the page does not display properly. This is because it displays is C://.

What you see is all the tags for the page and not just the text Hello World. What you need to remember is your working on localhost so the path for viewing the page should be http://localhost/hello.php.

If you have added a folder under www, it would look something like this http://localhost/yourfoldername/hello.php