Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto email reply and db entry

Status
Not open for further replies.

georgeocrawford

Technical User
Aug 12, 2002
111
GB
Hi,

Wonder if anyone can help.

At present, users can request my services using a form on my website, which is processed using FormMail (from Matt's Script Archive) and emailed to me. I then insert their details in my MySql database using Dadabik (simple web-based php interface).

What I want to achieve is this:


[ul][li]The user completes the form (which has exactly the same fields as my database table), clicks submit.[/li][li]The form is checked (required fields, correct email address format, etc.).[/li][li]The completed form is then emailed to the user (as their confirmation) and to me.[/li][li]At the same time, the form contents are also entered as a new record in my database.[/li][li]The user is then redirected to a 'thank you' page on my site.[/li][/ul]


Can anyone direct me to a script which could do this? I have no php experience, but I am prepared to have a go at modifying a script if someone can suggest one which contains the required functions - a sendmail function and the posting of the record to a MySql database.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top