Person Posted May 14, 2007 Share Posted May 14, 2007 Warning: Invalid argument supplied for foreach() on line 68 67 } 68 foreach( $PARAMS[$page_name] as $param => $param_name ) { 69 if( isset($_REQUEST[$param]) ) { Link to comment https://forums.phpfreaks.com/topic/51349-warning-invalid-argument-supplied-for-foreach/ Share on other sites More sharing options...
chigley Posted May 14, 2007 Share Posted May 14, 2007 <?php echo "<pre>"; print_r($PARAMS[$page_name]); echo "</pre>"; die(); ?> Stick that before the foreach and let me know the output please. Is $PARAMS[$page_name] definitely an array in itself? Or is $PARAMS the array and $page_name is a value? Link to comment https://forums.phpfreaks.com/topic/51349-warning-invalid-argument-supplied-for-foreach/#findComment-252869 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.