From: James O'M. <ja...@pa...> - 2002-02-25 20:18:34
|
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? -- _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ James O'Malley Altamente.com +1(787)296-1540 _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ |