Re: [PHP] Foreach POST VARS problem

2003-08-15 Thread Curt Zirzow
* Thus wrote Kris Yates ([EMAIL PROTECTED]): > >foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){ > > ... > > *Warning*: Invalid argument supplied for foreach() in > */devda1/htdocs/2binteractive.com/htdocs/0new/content/lanskyShopAdmin.php* > on line 2 > > I guess I just need to know what thi

[PHP] Foreach POST VARS problem

2003-08-15 Thread Kris Yates
It seems to me that this used to work but I guess something has changed somewhere between PHP 4.2 and 4.3? I am running PHP 4.3.2 as an Apache DSO on an FBSD box. If it is not obvious, I am trying to parse checkbox form POST results as seen below: $colors=""; foreach($HTTP_POST_VARS as $