Problem with a script
| From: | Ministério Público | 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"> </TD><TD><input type="checkbox" name="ReplaceJS"
value="1" checked>
*
*179*
<? echo *"+ files with extensions: ";
*
*180*
*foreach($JSFileExtArray* as *$Key* *=>* *$Value)
*
*181*
echo *'<b>'.$Value.'</b>,';
*
*182*
?>