SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2013
    Location
    RI, USA
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    email dbase vs. CMS dbase -basic question

    I have a simple contact form on my site, data gets sent to my email. I don't believe I set up a mysql database for this. Would that be correct? Does the host server somehow generate the form dbase structure?

    I had tried to plug in a different email address in the php code, but the form data did not get to the different address.

    I am basically familiar with setting up a mysql dbase set up for a CMS, wondering how email forms differ. Thx.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,156
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)
    An email server is different than your site server (where your form code is) and unless you are mailing to a list of some sort from a database your database has nothing to do with it.

    Sounds more like a problem with your form's code to me.

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    Yes, normally PHP gathers the data submitted to a contact form and sends it off to the specified destination(s). No database is involved in that. You can, of course, associate a database with it (such as when you are storing the submitted data) but unless that's been set up explicitly, then there is no database involved.


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
  •