Posted by scott Johnson on 10/25/15 11:29
What snippet of code are you using for the foreach?
foreach($_GET as $key=>$value){} should work.
Is there a particular reason you are using GET and not POST for the form?
onefastmustang wrote:
> Is it possible to use the GET method with checkboxes in php?? I have a
> form that does a get but I get the following error.
>
> Warning: Invalid argument supplied for foreach() in
>
>
> If I change the method to a POST it works fine..
>
> Thanks
>
--
Scott Johnson
http://www.seaforthsailingclub.com
Navigation:
[Reply to this message]
|