Re: [SMARTY] how to print a complex array?
| From: | Gabriel Birke | Date: | Fri, 16 May 2003 13:19:10 +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-9560@lists.php.net to get a copy of this message | ||
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