Page 1 of 1

contact form help needed.

Posted: Fri Nov 12, 2010 2:34 pm
by noobie22
Hi I'm working on a contact page that has a list of people and a link to their email. I want to make it so a form comes up when you click on the link but I want to only have one form. I've seen a lot of these forms that have a place to put one email address but if I did this I'd have 18 different php files.

Is there some code out there that already does this or do I need to code it myself?

thanks for the help,
Dan

Re: contact form help needed.

Posted: Fri Nov 12, 2010 2:40 pm
by Celauran
Make the list of email addresses a form itself, use onclick events to submit the form, and pass the email address selected by $_POST to the mail form?