php form help
php form help
Out of context: Reply #1
- Started
- Last post
- 3 Responses
- Kevin_Sweeney0
just put the mail() code in the actual form page and have it send only if a variable like $formSubmitted has been set and then display a message if it has been.
then for the form, set the action of the form equal to the page your on and include a hidden field named formSubmitted
or...you could try iframes, but i can't help you there, because anything with "frame" in the name pretty much turns me off.