You are here: Re: Forms in Php « PHP Programming Language « IT news, forums, messages
Re: Forms in Php

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация