Re: [SMARTY] How can one create a table dynamically with Smarty ?
| From: | Monte Ohrt | Date: | Fri, 30 Apr 2004 13:54:41 +0000 |
| Subject: | Re: [SMARTY] How can one create a table dynamically with Smarty ? | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11338@lists.php.net to get a copy of this message | ||
It looks like two columns to me. ??
<table>
<tr>
<td>column 1</td>
<td>column 2</td>
</tr>
</table>
Pete wrote:
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