Jump to content

can a drop down have an array


r-it

Recommended Posts

hi, i would like to know if it is possible for a drop down to store it values in an array eg

<select name = "val1"><option.....</option></select>
<select name = "val2"><option.....</option></select>

basically, what i want to do with something like this is this: if value1 and 2 have a selection, then it must display another panel, then if those ones are both selected, then it must show another panel, using ajax.

the thing is that i want to store val1 values in an array, then when the whole form is posted, use the array 2 retrieve the values and store them in the db

 

thanx

Link to comment
https://forums.phpfreaks.com/topic/51667-can-a-drop-down-have-an-array/
Share on other sites

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.