Problem with a script

From: Date: Fri, 02 Jun 2006 06:33:11 +0000
Subject: Problem with a script
Groups: php.general 
Request: Send a blank email to php-general+get-237242@lists.php.net to get a copy of this message
Hi guys I'm getting the following error and I cant seem to understand what Im doing wrong, if someone could help me I'd apreciate it. Here is the error message I get in some fileds of the output on the browser: *Warning*: Invalid argument supplied for foreach() in * c:\apache\htdocs\pobs\pobs.php* on line *180* ** *And here goes the lines I've put a few before and a few after just in case. * ** ** ** *178 <TR><TD valign="bottom">JavaScript (Functions & Variables)</TD><TD WIDTH=10 valign="top">&nbsp;</TD><TD><input type="checkbox" name="ReplaceJS" value="1" checked>&nbsp;&nbsp; * *179* <? echo *"+ files with extensions: "; * *180* *foreach($JSFileExtArray* as *$Key* *=>* *$Value) * *181* echo *'<b>'.$Value.'</b>,'; * *182* ?>

« previous php.general (#237242) next »