Email form with PHP once submit is clicked the php script is disaplayed
Hi All
I have probably what is a basic problem but being slightly new having problems
I have a form in html which as 3 fields name email address and comments with a submit button. I also have a php script which is suppose to email me the details. However I am having an issues where once the submit button is hit the php script is simply displayed in the browser. I have tried several different example scripts from the web and they all do the same any thoughts anyone
You should post the code, but the obvious suspects would be tags <?php ?> (check short tags <? is different and may not be supported). The other type of problems are with the php install and the x-types. If apache doesn't know to process .php files then you might be having them rendered as text.
__________________ Hawk Enterprises -- Home to PHP games, open-source code, tutorials and free downloads