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 <[EMAIL PROTECTED]>:
> 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:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
>
>
-----------------------------
Visite http://www.lusoweb.pt
--
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]