Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Using MySQL & PHP to Store Form Information

New Here ,
Mar 04, 2008 Mar 04, 2008
Alright, I ran through the tutorials that are included on here and I still am at a little bit of a loss when trying to create a form that inputs the data automatically into a MySQL database. I'll try and explain my situation best I can even though it's kind of confusing to me. I know how to make the forms, it won't be hard for me to set them up but I'm not sure how to start out with the MySQL side of things. My host is HostMonster and I know they support MySQL. The form needs to have text input along with some check boxes and radio buttons, just fyi.

Ok, so...On host monster I've setup a new database. But, I'm not sure how to setup the table within that database so that information can be added to it. I've looked on all the sites I know to look and can't find anything and I'm not sure what other phrases to search for so I could find something. I've already got dreamweaver setup to connect to the database but like I said, I don't know what else I need to do in order to setup the form for sending information to it once it's submitted.

If you need more information from me, I'll help out as much as I can. This is becoming very frustrating for me and you guys are always a great help on here.
TOPICS
Server side applications
324
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 05, 2008 Mar 05, 2008
you need some interface to interact with your DB (add, del, modify
tables, ...). surely your host company has a one installed like
phpMyAdmin, Navicat, ...

vintagegamer wrote:
> Alright, I ran through the tutorials that are included on here and I still am
> at a little bit of a loss when trying to create a form that inputs the data
> automatically into a MySQL database. I'll try and explain my situation best I
> can even though it's kind of confusing to me. I know how to make the forms, it
> won't be hard for me to set them up but I'm not sure how to start out with the
> MySQL side of things. My host is HostMonster and I know they support MySQL. The
> form needs to have text input along with some check boxes and radio buttons,
> just fyi.
>
> Ok, so...On host monster I've setup a new database. But, I'm not sure how to
> setup the table within that database so that information can be added to it.
> I've looked on all the sites I know to look and can't find anything and I'm not
> sure what other phrases to search for so I could find something. I've already
> got dreamweaver setup to connect to the database but like I said, I don't know
> what else I need to do in order to setup the form for sending information to it
> once it's submitted.
>
> If you need more information from me, I'll help out as much as I can. This is
> becoming very frustrating for me and you guys are always a great help on here.
>
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2008 Mar 05, 2008
LATEST
Thank you for the reply. My host has phpMyAdmin and I found that out a little earlier today. Now my problem with setting up the table is I'm not sure how to capture the information from the checkboxes?

I want checkboxes in the form but I don't know how I'm going to input that data into the mySQL table. I've been told they're handled different than text fields and radio buttons?

Anyone know how I should set the table up so everything can point to the correct place?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines