novex — 2014-03-21T09:36:28-04:00 — #1
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.
mittineague — 2014-04-04T00:10:07-04:00 — #2
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.
ralphm — 2014-04-04T01:36:07-04:00 — #3
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.