RE: [PHP-DB] Array not supported for strings???
| From: | Rick Emery | Date: | Fri, 04 Jan 2002 20:02:14 +0000 |
| Subject: | RE: [PHP-DB] Array not supported for strings??? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15406@lists.php.net to get a copy of this message | ||
Need to show us more code...
-----Original Message-----
From: Andy [mailto:news.letters@gmx.de]
Sent: Friday, January 04, 2002 2:00 PM
To: php-db@lists.php.net
Subject: [PHP-DB] Array not supported for strings???
Hi there,
I have a problem with an array:
This code:
$country[] = $row->country;
Creates following error msg:
Fatal error: [] operator not supported for strings
The wired thing is, that the same procedure works through my whole
application, but not in this case.
Did anybody make the same experience?
Thanx for any help buddys.
Regards Andy
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net