I have a bad issue and already lost 2 days with it. I'm trying to filter a result set with checkboxes and $_GET method but for some reason is nbot working. The $_GET variable for checkbox name is always one string and not array.
I have :
<form action="" method="get">
GET<br />
<input type="checkbox" name="formDoor1[]" value="A" />Acorn Building<br />
<input type="checkbox" name="formDoor1[]" value="B" />Brown Hall<br />
<input type="checkbox" name="formDoor1[]" value="C" />Carnegie Complex<br />
<input type="checkbox" name="formDoor1[]" value="D" />Drake Commons<br />
<input type="checkbox" name="formDoor1[]" value="E" />Elliot House
<input type="submit" name="formSubmit" value="Submit" />
</form>
After submit I have this in $_GET :
Array ( [page] => xxxx[stype] => xx [entrant] => xxx [formDoor1[]] => C [formSubmit] => Submit )
after I've checked the first 3 checkboxes ( the $_GET has only one value - the last one checked and is not an array.
NOTE: the same form with $_POST form is working fine .
Any help is appreciated as I'm going crazy with this.
Thanks