i just typed my simple helloworld php code.i dont know how to run it.i started my appache webserver and opened a browser to run my code.but it is not working.
make sure you save your .php files into your DocumentRoot
Depending on what OS you have windows is usually
C:\program files\apache\httdocs
Once saved in there.. Type in
http://localhost/filename.php
or
http://127.0.0.1/filename.php