hi i am new to php and i am using wamp for learning php but i have made a file <?php echo "hello world"; ?> but it is not working the text is not displayed i have also used the php info statement but nothing seems to happen i have also enabled the short open tags please help me i want this working wamp worked fine in the office pc and i made a couple of scripts in it but not working in my home pc.
Please don't be insulted as you said you were new. Did you save the file as file.php and save it in the proper directory? For xampp that is in a folder you create under the htdocs folder. I think maybe wamp uses www. Also you have to start apache in order to view php pages in a browser. There is nothing wrong with your script except mabe that you saved it as a txt file.