hi, i am a newbie and i want to learn how to use PHP... i just installed WAMP in my Pc and when i type localhost the WAMP5 Homepage works well. I made the "Hello World" and put it on www folder with filename hello.php on a directory samples and when i click on the projects the samples directory appears and the file hello.php also appears but when i click on the file, nothing appears on the webpage instead of printing "Hello World". I tried to create other files but they all do the same, nothing appears on the webpage...

I am very thankful if someone would answer this post...

Thanks!

    You won't get far 'clicking' on the file. You need to send your page to a browser once WAMP is running -- using the proper URL which is probably

    http://localhost/samples/hello.php

    Paste that into your browser address bar. It may work.

      Try putting the script that you have into a folder, the folder will appear in the projects list click the folder and then click the file.

      If there is an error it must be with the page not the server itself.

      Have you used the echo tag in the PHP page?

      <?php echo "hello world"; ?>
        Write a Reply...