Building tables
| From: | LIMBOURG Arnaud | Date: | Thu, 31 Jan 2002 08:54:30 +0000 |
| Subject: | Building tables | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2624@lists.php.net to get a copy of this message | ||
Hello all,
I'm trying to figure out a way to automatically build a template. What i
would like to do is pass an array to the template which would do the
adequate things to build rows and columns.
I was thinking about something along the following lines
section name=loop_for_rows
<tr>
section name=loop_for_cols
<td>DATA</td>
/section
</tr>
/section
Does that make sense or am i completely out of it ?