Jump to content

Need help building form and insterting into MySQL ;)


jeger003

Recommended Posts

hello,

I am trying to create a form that will log items. Say I have a list of fruits and I want to log the fruit and its color. I don't know how many fruits I have so I need the form to start with one row first then add rows after I hit enter.

 

I then need to insert the fruits into mysql

 

any ideas or links? anyone?

 

 

 

 

 

Link to comment
Share on other sites

i have that part set now. the issues im having are from the form itself. I want the form to display new rows once I enter the first fruit. So I enter Red Apple and another box appears for me....i then enter Orange Orange and another box appears....etc how do i do that?

 

 

because each field needs its own ID in order to INSERT INTO mysql  i dont want to make 100 of the same fields with the same ID I want it to automatically do that

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.