Php Save Selected Options From Multiple Drop Downs To An Array
I have the following code:
Solution 1:
Do you mean
<?php
var_dump($_POST);
?><formmethod='post'><selectid='rq1'class='business'name='q1[]'><optionvalue='1'>1</option><optionvalue='2'>2</option></select><selectid='rq2'class='business'name='q1[]'><optionvalue='1'>1</option><optionvalue='2'>2</option></select><selectid='rq3'class='business'name='q1[]'><optionvalue='1'>1</option><optionvalue='2'>2</option></select><inputtype='submit'></form>
When you submit the form, you will get data in Array.
Post a Comment for "Php Save Selected Options From Multiple Drop Downs To An Array"