Accessing a class member in a list
| From: | Thomas Angst | Date: | Wed, 09 Aug 2000 15:26:13 +0000 |
| Subject: | Accessing a class member in a list | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10940@lists.php.net to get a copy of this message | ||
Howdy,
how do I access a class member if the class is stored in an array?
$arr[$someelement]->member = "some string";
this construct is not working in PHP3
how can I solve this?
best regards
Thomas