RE: [SMARTY] Bug in Smarty 2.5.0rc1

From: Date: Thu, 06 Mar 2003 13:22:30 +0000
Subject: RE: [SMARTY] Bug in Smarty 2.5.0rc1
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8441@lists.php.net to get a copy of this message
> This should work: > {assign var="cat_id" value=$catagorys[i].catagory_id} That worked great thanks.. Just removing the quotes did the job.. > {assign var="cat_id" value=$catagorys.i.catagory_id} > > Inside quotes you need to backquote the array-names, like > this: {assign var="cat_id" > value="$catagorys[i].catagory_id} > or > {assign var="cat_id" > value="$catagorys.i.catagory_id} > > Hope it helps > > /Nichlas

« previous php.smarty.general (#8441) next »