> -----Original Message-----
> From: Jay Paulson [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, September 24, 2001 3:09 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] what does this mean?
> 
> 
> Warning: Cannot use a scalar value as an array
> what does that mean?
> 
> i have in my code this:
> $errorMsg["error"] = "";

It means, in this case, that it doesn't think that $errorMsg is an
array.

And that, in turn, makes me think that you've probably already done
something with the $errorMsg variable...perhaps assigned it a string
value?


---
Mark Roedel             |  "Blessed is he who has learned to laugh
Systems Programmer      |   at himself, for he shall never cease
LeTourneau University   |   to be entertained."
Longview, Texas, USA    |                           -- John Powell 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to