Re: [SMARTY] how to print a complex array?

From: Date: Sat, 17 May 2003 00:43:00 +0000
Subject: Re: [SMARTY] how to print a complex array?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9567@lists.php.net to get a copy of this message
Thank you it was good. Ricardo ----- Original Message ----- From: "Gabriel Birke" <birke@kontor4.de> To: "HELLBLAZER" <debian@detectomania.com> Cc: <smarty-general@lists.php.net> Sent: Friday, May 16, 2003 3:19 PM Subject: Re: [SMARTY] how to print a complex array? > Haven't tried it with version 2.5, but in earlier Smarty versions you > could use > > {$valor.$x[1]} > > Am Freitag, 16.05.03 um 14:13 Uhr schrieb HELLBLAZER: > > > Hi all. Sorry for my bad english. > > my question is how can I print this variable -- $valor[$x["1"]] -- in > > smarty template ?? > > > > $x = array( > > 1 => "1", > > 2 => "2", > > 3 => "3", > > ) > > > > $valor = array( > > 1 => "PROCESS1", > > 2 => "PROCESS2", > > 3 => "PROCESS3", > > ) > > > > these variables $x and $valor are assigned to the template. > > > > Thank you for your time. > > > > Ricardo Bruzos. > > > > > > > > > > -- > > Smarty General Mailing List (http://smarty.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

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