Re: [SMARTY] variable name problem

From: Date: Wed, 07 May 2003 08:59:04 +0000
Subject: Re: [SMARTY] variable name problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9491@lists.php.net to get a copy of this message
On Wed, May 07, 2003 at 09:41:49AM +0100, Guillaume Justier wrote: > Hi guys, > > I have a problem with variable names. > Within a loop I have the following line: > > {label for="FORM_CHRG_".{$searchloop[mysc].PK}."_TITLE"} the dots are php but not smarty syntax. use: {label for="FORM_CHRG_$searchloop[mysc].PK}_TITLE"} since Smarty-2.5.0 greetings messju > Is this the correct syntax to generate the variable name (for example : > {label for="FORM_CHRG_3_TITLE"}) > > Thanks in advance, > > Guillaume > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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