Array access

From: Date: Fri, 30 Jan 2004 11:47:54 +0000
Subject: Array access
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2086@lists.php.net to get a copy of this message
I'm trying to access a property of an associative array where the key is given by an object property, like this: {$options.$object->option} It seems that this is not allowed. Is it because there is ambiguity and it's trying to do the equivalent of {{$options.$object}->option} Is there some way I can clarify the order, like: {$options.{$object->option}} Or is the problem deeper? Marcus -- Marcus Bointon Synchromedia Limited: Putting you in the picture marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

« previous php.smarty.dev (#2086) next »