Re: what does this mean?

From: Date: Mon, 24 Sep 2001 22:38:54 +0000
Subject: Re: what does this mean?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-68617@lists.php.net to get a copy of this message
As far as I know, you've defined $errorMsg previously as an variable, not as an array. If you'll not use anymore the previously defined $errorMsg just unset the variable using "unset($errorMsg)" before the attribution. I hope this solves your problem, it solved a lot of similar errors to me! Greetings, Manuel Silva Quoting Jay Paulson <jpaulson@lbjs.com>: > Warning: Cannot use a scalar value as an array > > what does that mean? > > i have in my code this: > > $errorMsg["error"] = ""; > > thanks, > jay > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: > php-general-unsubscribe@lists.php.net > For additional commands, e-mail: > php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > ----------------------------- Visite http://www.lusoweb.pt

« previous php.general (#68617) next »