Morning,

I have a basic web form which calls a sendmail.php to gather the input and then email results to a user.

The form also directs the user to a short "thank you" page and then refreshes to another page after 5 secs; plus it sends an information email to the address they entered on the form.

The form has two choices. What I want to do is have the sendmail perform one action for choice 1 and a different action for choice 2.

So Choice 1 would forward to page saying "Thank you for making choice 1" and then send an email with the same message; choice 2 would go to second message, etc.

Not being a php kind of guy I have no idea how to accomplish this. Can it even be done or is sendmail too limited?

emr