Jump to content

question select options


raptor30506090

Recommended Posts

This is what i have so far its the mysql im a bit stuck on

 

option 1: <input name="option1" type="text">   Price: <input name="price" type="text"><br><br>
option 2: <input name="option1" type="text">   Price: <input name="price" type="text"><br><br>
option 3: <input name="option1" type="text">   Price: <input name="price" type="text"><br><br>
option 4: <input name="option1" type="text">   Price: <input name="price" type="text"><br><br>
option 5: <input name="option1" type="text">   Price: <input name="price" type="text"><br>

Link to comment
Share on other sites

Since these are in one form, I recommend either having the inputs in array format or assigning them unique names, unless the user is only allowed to fill out 1. eg

 

option 1: <input name="option1" type="text">   Price: <input name="price1" type="text"><br><br>
option 2: <input name="option2" type="text">   Price: <input name="price2" type="text"><br><br>
option 3: <input name="option3" type="text">   Price: <input name="price3" type="text"><br><br>
option 4: <input name="option4" type="text">   Price: <input name="price4" type="text"><br><br>
option 5: <input name="option5" type="text">   Price: <input name="price5" type="text"><br>

 

But as to your mysql question, you want to display the data that the user input from the database?

Can you give us a layout of the db please.

 

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.