tpl containing an array as a variable ?
| From: | Luc Saint-Elie | Date: | Fri, 14 Mar 2003 14:38:51 +0000 |
| Subject: | tpl containing an array as a variable ? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-8654@lists.php.net to get a copy of this message | ||
Hello,
I've a stupid doubt..
instead of a loop in the template file is it possible to have a variable that is an array of templates to be included ?
It's a question asked to me by a co-worker who want's to do the loop in the php file and display each row of a table as a template.
Thanks in advance
Luc