Re: [SMARTY] get_template_vars and arrays
| From: | messju mohr | Date: | Wed, 20 Aug 2003 16:09:19 +0000 |
| Subject: | Re: [SMARTY] get_template_vars and arrays | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10104@lists.php.net to get a copy of this message | ||
On Wed, Aug 20, 2003 at 03:11:31PM +0100, lists@yewlands.com wrote:
> hi all
>
> Is there a way I can get direct access to an array element through
> get_template_vars?
>
> I can get to the array but cannot seem to get to one of it's elements without
> assigning it to a temp variable and accessing that.
but that is just the way you should do it: get the array to a temp
variable and access it's elements. whats wrong with this?
> cheers
>
> Matt