Validating email form
Posted: Sat Jan 15, 2005 2:28 am
I am a newbie at PHP. I am creating a villa rental site, I have a made a booking form and want to send the information from the booking form to the owners email address as well as a thank you email to the sender.
I am also trying to validate the form input. I have done this to a certain degree and get an error msg for an empty or invalid field ok, but at the same time incomplete booking form information email is sent.
How do I stop the form information been sent, before it has been validated

I am also trying to validate the form input. I have done this to a certain degree and get an error msg for an empty or invalid field ok, but at the same time incomplete booking form information email is sent.
How do I stop the form information been sent, before it has been validated