+ Reply to Thread
Results 1 to 7 of 7

Thread: Inserting form info into MySQL database

  1. #1
    Join Date
    Dec 2006
    Location
    Israel
    Posts
    17

    Default Inserting form info into MySQL database

    Hi all,

    I would like to take the information I get from the filled in form, and store it into a MySQL database.

    I alsready know I can't send the form info to two seperate php files, and so was wondering if anyone out there had done something similar, and if so, how did you do it without having to insert the database information and code into the html page of the form.

    Anyone ?

    Mike

  2. #2
    Join Date
    Jun 2006
    Posts
    214

    Default Re: Inserting form info into MySQL database

    See if this helps.

  3. #3
    Join Date
    Dec 2006
    Location
    Israel
    Posts
    17

    Default Re: Inserting form info into MySQL database

    Hi Dave,

    If I am understanding the broader answer you supplied, you are suggesting I use a CSV file to write the data to from the form on submittion, and then use a php to re-read the information and write it to a MySQL Db ?

    An interesting process if that is your suggestion.

    Mike

  4. #4
    Join Date
    Jun 2006
    Posts
    214

    Default Re: Inserting form info into MySQL database

    I was not sure exactly what you needed and it sounded like CSV hence the link. The easy way might be to contact Russell using the information at the top of the form. It sounds like a speacialty thing his tech support subscription is very reasonable and he is a pretty good guy.

  5. #5
    Join Date
    Dec 2006
    Location
    Israel
    Posts
    17

    Default Re: Inserting form info into MySQL database

    Dave,

    Am actually going to give your idea a shot first

    It set my brain a working and although a bit roundabout, might actually give me what I need.

    This php stuff is hot quite html, so I'm going slow.

    Mike

  6. #6
    Join Date
    Dec 2005
    Posts
    74

    Default Re: Inserting form info into MySQL database

    Mike,

    I'm using formmail to send a csv attachment. In the admin section of our website an admin person can upload the attachment to a php routine that parses the incoming data into as many as three mysql tables. If you'd like to see a copy of one guy's hacked solution, send me a private message with your email address.

    George

  7. #7
    Join Date
    Jan 2007
    Posts
    1

    Default Re: Inserting form info into MySQL database

    I'm not worried about getting text data out into a CSV file, but I am having users submit a lot of image and video files. I'd like to have those inserted directly into a MySQL database so that I don't have to go through hundreds of submissions looking for information.

    Can formemail upload all data types in MySQL, and if so, how?

    George - I'd love to see what that other guy did to get it done. I'll send you a private message.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Works Great but doesnt send the info..
    By justinelack in forum Community Support
    Replies: 0
    Last Post: 29-Apr-2006, 06:27 PM
  2. Form results insert to mysql
    By BevO in forum FormMail Subscription Support
    Replies: 1
    Last Post: 23-Feb-2006, 12:40 AM
  3. Need info on how to include name in recipients field
    By djdevine in forum FormMail Subscription Support
    Replies: 6
    Last Post: 02-Jun-2005, 03:54 AM
  4. mysql connect
    By moreover in forum FormMail Subscription Support
    Replies: 5
    Last Post: 23-Oct-2004, 11:36 PM
  5. Help trying to set up a form to email and send info to file
    By rridsdale in forum FormMail Subscription Support
    Replies: 1
    Last Post: 14-Jan-2004, 03:38 AM

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