PHP Page Template
When a webpage that incorporates PHP code to achieve a particular functionality, i.e. a form that submits user information and sends emails and possibly updates a database, the page needs to be saved with a .php file extension.
When developing pages that have PHP functionality you will need to be connected to the Internet to test your PHP code, unless you have a local PHP "sandbox". You can do this but it is probably beyond the capabilities of many developers as it requires knownledge of linux (or possibly a Microsoft solution) server technology.
When accessing a .php file locally the contents of the PHP file will echo to the browser screen but the code will not execute as it is desinged to do so on the server-side. This is why I have developed a seperate template that is a .php file based on my main design template. The PHP code is then added to it.
For testing purposes I have added a NOINDEX Meta Tage and removed the Google tracking. This would need to be removed/re-instated when the script has been de-bugged.
More about the .php template
I have added a dummy PHP section where the PHP code can be placed when the script is developed. There may be multiple places in the .php script is located as pre and post submission code may need to be added. (I need to check this on the forms that I have previously developed).