Re: [SMARTY] How can one create a table dynamically with Smarty ?
| From: | Pete | Date: | Fri, 30 Apr 2004 13:49:52 +0000 |
| Subject: | Re: [SMARTY] How can one create a table dynamically with Smarty ? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11337@lists.php.net to get a copy of this message | ||
Hi Gabriel,
thank you very much for the reply.
Unfortunately that doesn't help at all.
The problem is that a multi column table is needed.
The code below will only produce a table with one column.
<table>
{section loop=$data name=i}
<tr><td>{$data[i].image}</td><td>{$data[i].description}</td></tr>
{/section}
</table>
Thx anyway and have a nice weekend!!
Regards Pete