SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Saving emails from contact form automatically to database

    Hey,

    This might not be relevant here but I'll give it a shot.

    I have a client who wants to build a database of email addresses of people who contact him via his website contact form.

    What's the best way to go about doing this?

    It needs to be automatic, so that as soon as someone fills out the contact form and sends, the email is saved into a list somewhere.

    Can anyone point me in the right direction?

  2. #2
    SitePoint Addict svcghost's Avatar
    Join Date
    Oct 2010
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The best way to do this is to use a server-side script (PHP or ASP) to transferring the data from the form to a database (MySQL for example).

    Here is a great tutorial:
    http://teamtutorials.com/web-develop...base-using-php

  3. #3
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, is it possible to send multiple forms to the same database?

  4. #4
    SitePoint Addict svcghost's Avatar
    Join Date
    Oct 2010
    Posts
    288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    definitely.

  5. #5
    SitePoint Zealot
    Join Date
    Dec 2010
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    awesome, thanks

  6. #6
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    check out bestcontactform.com. It does all of that and then some.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •