WG: [SMARTY] Variable variables

From: Date: Mon, 24 Mar 2003 14:06:53 +0000
Subject: WG: [SMARTY] Variable variables
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8862@lists.php.net to get a copy of this message
Sorry, I asked to quick, didn't see the mails before... It's working with the solution from philippe morange too. *shame* Thorsten -----Ursprüngliche Nachricht----- Von: Thorsten Schmidt Gesendet: Montag, 24. März 2003 14:57 An: smarty-general@lists.php.net Betreff: [SMARTY] Variable variables Dear, is there a way to realise this: {section name=pages loop=10} {assign var="row" value=$smarty.section.pages.rownum} <TR> <TD>{$array.value.param_$row_from}"></TD> <TD>{$array.value.param_$row_to}"></TD> </TR> {/section} The array is build up like this: $array['value']['param_1_from'] $array['value']['param_1_to'] $array['value']['param_2_from'] $array['value']['param_2_to'] ... I tried with {$array.value.param_$row_from} but it also didn't work : ( Smarty version is 2.5.0 RC 1. Best regards Thorsten -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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