Hi
I want too have a form that a user fills out then submits where the data is entered into a mysql database and a copy is sent by email too someone.
It is easy to do either of these through a submit, but you can only do one form-action with a submit.
So i was wondering if anyone knows how to do the following:
form action would be post to a php url.
The php page would process the posted variables and insert into the mysql database (input validation, blah blah).
The post variables would be formatted and then sent by email to a default user.(I don't know how to do this part).
The only thing the form submitter would see is a page saying "data inserted, email sent blah, blah - with a link back too the main menu"
This is for a application on my intranet nothing external.
Thanks
John