Re: [SMARTY] Re: Deep access of associative array value by dynamic index. [SOLVED]
| From: | Tom | Date: | Thu, 29 Apr 2004 08:29:09 +0000 |
| Subject: | Re: [SMARTY] Re: Deep access of associative array value by dynamic index. [SOLVED] | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11320@lists.php.net to get a copy of this message | ||
boots wrote:
Actually, Tom's example worked for me as-is. I think that array access with [$foo.bar] was added at 2.6.1 (or possible 2.6.0 -- messju will recall better than I).I guess I look a little silly now. Have updated Smarty from 2.5.0 to 2.6.2 and, as you said, it works just fine. Thanks :) [*SNIP*]
With hindsight it might not have been quite so obvious that it didn't work :PWhich (obviously) doesn't work. Can anyone help? :)