Page 1 of 1

database search and email forward

Posted: Tue Oct 07, 2008 7:42 am
by sipherlucian
hi im currently developing a new website and im having a bit of an issue figuring something out, hopefully someone might have a suggestion. basically i want someone to go onto the site and fill out a form with their name, number, and service required. when they submit i need it to search for the service in a database and email the name and number to the results it finds. could somebody please point me in the right direction? thank you, Simon

Re: database search and email forward

Posted: Tue Oct 07, 2008 7:57 am
by Paul Arnold
I don't fully understand your question to be honest but if you're looking to send emails from php use either Swift Mailer or PHP Mailer.

Re: database search and email forward

Posted: Tue Oct 07, 2008 8:36 am
by sipherlucian
thanks for the reply, basically i need to make a form that searches a database for say example a restaurant. it searches it, finds the results, and posts on all of the details to that email address that were filled out in the form. the fields in the form are...

1. what are you looking for? e.g restaurants, bars, etc

2. your name

3. your location

4. your phone number

5. message

Submit.

so say they selected restaurants in the first field, the database would be searched for restaurants in that persons area. then the results it finds, say an italian restaurant, will be emailed the name, location, phone number, and message. does this help at all? hope to hear back, or if you have any suggestions of applications that might be able to do this that would be great!