10gbus
09-22-2009, 09:23 AM
Hi
I have 2 checkbox fields
<input type="checkbox" name="music[1]"/>
<input type="checkbox" name="music[2]"/>
So when the user tick on those 2 checkboxes and click submit button
the address bar is
order.php?step=1&music[1]=on&music[2]=on
My question is
How can I get the values [1] and [2] using PHP ?
Means, I just want an array with those values, 1 and 2
Any help ?
I have 2 checkbox fields
<input type="checkbox" name="music[1]"/>
<input type="checkbox" name="music[2]"/>
So when the user tick on those 2 checkboxes and click submit button
the address bar is
order.php?step=1&music[1]=on&music[2]=on
My question is
How can I get the values [1] and [2] using PHP ?
Means, I just want an array with those values, 1 and 2
Any help ?
