Re: mysql_fetch_object() with MYSQL_NUM or MYSQL_BOTH
| From: | rashkatsa | Date: | Fri, 24 Aug 2001 12:29:19 +0000 |
| Subject: | Re: mysql_fetch_object() with MYSQL_NUM or MYSQL_BOTH | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11783@lists.php.net to get a copy of this message | ||
well...
$zero = "0";
$one = "1";
$obj->$zero and $obj->$one works... but
$obj->"0" or $obj->'0' doesn't... :((
esthetically, it is not great ! you have to provide vars to access properties' object ! $zero, $one, ... $ten, $eleven, ...
something more simple or easier to access these kind of properties's object ?
regards,
rashkatsa