Re: [SMARTY] Move to next array row
| From: | Jason Sweat | Date: | Mon, 13 Jan 2003 02:14:19 +0000 |
| Subject: | Re: [SMARTY] Move to next array row | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7139@lists.php.net to get a copy of this message | ||
Michael,
Try taking a look here
http://smarty.php.net/contribs/examples/dynamic_table_columns/table.tpl.txt
to see if this helps.
Jason
----- Original Message -----
From: "Michael Paluchowski" <paluchowski@post.pl>
To: <smarty-general@lists.php.net>
Sent: Sunday, January 12, 2003 6:24 PM
Subject: [SMARTY] Move to next array row
>
> Is there a way to move to the next array row inside of {section}
>
> I need to create a table with 2 columns from an array, so I wanted to
> create one row in one loop, eg:
>
> {section ...}
> <tr>
> <td>data from first row of array</td>
> <td>data from second for of array</td>
> </tr>
> {/section}
>
> So between both table cells I nedd the array to jump to the next row...
>
>
> --
> _________________
> Mike Paluchowski
> paluchowski@post.pl
> http://www.NetHut.pl
>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>