Ensure that your php script that you past into your html, that has now been saved as .php is still wrapped in <?php //php code here ?>
To view the php file though, you will have to be on a server that runs php and apache, or you can run it locally by downloading mamp(mac) or wamp(windows).
THX
Ensure that your php script that you past into your html, that has now been saved as .php is still wrapped in <?php //php code here ?>
To view the php file though, you will have to be on a server that runs php and apache, or you can run it locally by downloading mamp(mac) or wamp(windows).
MAMP: http://www.mamp.info/en/index.html
WAMP: http://www.wampserver.com/en/
Tutorial about MAMP by chris: http://css-tricks.com/video-screencasts/86-mamp/