Re: [SMARTY] Assoc. arrays
| From: | messju mohr | Date: | Thu, 04 Sep 2003 16:59:06 +0000 |
| Subject: | Re: [SMARTY] Assoc. arrays | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10170@lists.php.net to get a copy of this message | ||
On Thu, Sep 04, 2003 at 06:48:46PM +0200, Javier Tacon wrote:
>
> Hi all,
>
> Anyone knows how can I access to an associative array with a dynamic key?
>
> For example, in PHP:
>
> $key = "key1";
> print $array[$key];
{$array.$key}
greetings
messju
> Thanks in advance!