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>

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.