RE: [PHP] what does this mean?

From: Date: Mon, 24 Sep 2001 21:35:13 +0000
Subject: RE: [PHP] what does this mean?
Groups: php.general 
Request: Send a blank email to php-general+get-68605@lists.php.net to get a copy of this message
> -----Original Message----- > From: Jay Paulson [mailto:jpaulson@lbjs.com] > Sent: Monday, September 24, 2001 3:09 PM > To: php-general@lists.php.net > 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

« previous php.general (#68605) next »