Quote:
Originally Posted by the phantom
okay, you lost me.
once i have done the if statement, or validated in php, what is the code for the post button?
could i set the form action to "mailto: myemailaddress@server.com"?
|
I hate using the mailto action. I prefer the php's mail function because it doesn't open up the user's default email program (outlook most likely) and it just sends it straight to their email.
So after you've validated that everything is filled in and correct, you set the subject variable, the message variable, and any other variable that you want in your mail. Then you use the php mail() function and include all the variables.
|