r-it Posted May 16, 2007 Share Posted May 16, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/51667-can-a-drop-down-have-an-array/ Share on other sites More sharing options...
trq Posted May 16, 2007 Share Posted May 16, 2007 Your talking about Javascript arrays by the sound if it, this is the php forum. Quote Link to comment https://forums.phpfreaks.com/topic/51667-can-a-drop-down-have-an-array/#findComment-254517 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.