How do I make a php file run on my localhost
I've been trying to run php but it doesn't give me the output, it just returns the source code.
> Start your Wamp server. > Create your php file. > Save your file in www folder which you'll find inside wamp folder with .php extension. > Now open your browser, and type localhost/yourfilename.php Now your website will open through localhost.
Have you a local server ?
Wamp server or easy php?