How does PHP handle multiple selects in tags?
Here?s my problem; on a project I?m current working on, I need to able to select multiple states in the US to run a SQL query on. Since HTML tag supports multiple selections I decided to use it and see what is returned when I submit the form. To my surprise it only returns the selected value lowest on the list. I created a test script (posted below) to test this out further.
For example please select the follow; Alaska, DC, New York, Wyoming, and hit submit. In this case, only WY will be displayed.
How can I get it so it will post all the values that were selected? Any help would be appreciated.
Test Script
[php]