I am using a <select> with multiple options that a user will select one from. Each option has a value assigned. Once the user has made their selection, I am wanting to pass the value of the option they selected to use as part of a database query that will give the user additional options based on the option they selected.
Something like this:
User makes their selection...say option2, for example.
Then value of option selected is used in database query like:
<select * from table where var=2>
From here I generate additional field with more options, depending on what option the user selects from the first field.
I just want the user to make a selection from one field and then provide additional fields that are connected to the selection they made. I have seen this done plenty of times on various websites...now I want to get it straight on how to make it work.
(Please forgive my wordiness/rambling...just wanted to be clear on what I was attempting to do)
Thanks in advance!!!!