I am trying to learn php. I have installed wamp server and wrote a simple code for testing.
The code file is saved in \wamp\www folder. The problem is when I run localhost it anybody shows my
project list which is nothing but the code I have written. All tags are there.
If anybody can give suggestions that will be great.
Thank you
Code output problem using wamp server
Moderator: General Moderators
-
- Forum Newbie
- Posts: 1
- Joined: Thu Oct 27, 2011 12:19 am
Re: Code output problem using wamp server
Create a folder "test" in c:\wamp\www and put your index.php file there.
index.php
When you go to http://localhost you will see a test folder, click on it and it will execute c:\wamp\www\test\index.php
index.php
Code: Select all
<?php echo "Hello world!"; ?>