Re: [SMARTY] Array index variables
| From: | Phillip Smith | Date: | Fri, 10 May 2002 21:01:43 +0000 |
| Subject: | Re: [SMARTY] Array index variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4156@lists.php.net to get a copy of this message | ||
So, I tried Jens Lehmann's way, by just doing {$event_id.$id} (which I
thought I had done, but apparently not), but it works fine. This was
with 2.1.0. I updated to 2.1.1, and {$event_id[$id]} still doesn't
work, but Jens way does.
I don't particularly care either way.. I had just expected it to work the
other way, since section loops are generally defined like that. Thanks
Jens.
-phillip