From: James E. F. <jf...@ac...> - 2002-02-26 06:51:15
|
There were a few issues with PHP 4.1.1, try using the source from CVS and see if that fixes your problems. http://sourceforge.net/cvs/?group_id=8956 -James On Mon, 25 Feb 2002, James O'Malley wrote: > I get this error whenever there are checkboxes in a survey. This error is > returned for each checkbox array. > > Invalid argument supplied for foreach() in > /usr/local/lib/php/contrib/phpESP/admin/include/lib/espresponse.inc on > line 159 > Code in question is: > > foreach($val as $cid) { > > My PHP version is 4.1.1 > > I stuck stuck in an echo statement to see if for some reason either one of > those variables was empty, and no, $val is an array with values, and $cid is > not empty. > > Is there some issue between this version of php and phpESP? > > |