var varname
| From: | Ingo Friepoertner | Date: | Sun, 18 May 2003 20:47:16 +0000 |
| Subject: | var varname | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9574@lists.php.net to get a copy of this message | ||
Hi,
I can't find a solution for a problem I fixed some
month ago...
How can I get the value of $obj->$var ?
$var = "foo"
$obj->foo=23
$obj->bar=42
I think it's easy... but to late this sunday... ;-(
Ingo
--
Ingo Friepoertner
php@friepoertner.de