I have a group of select boxes generated from MySQL on a page and when the user hits the submit button how do I get the selected values into PHP so that I can process them into a query.
Say your form contains the following select box:
<SELECT NAME="myselect" SIZE=1>
When the form is submitted, the target PHP script (named in the ACTION attribute of the FORM tag) can access the selected value as $myselect.
If this doesn't work, ensure that register_globals is set to On in your php.ini file.
Helping Small Business Grow Online!