Re: [SMARTY] Simple question
| From: | Monte Ohrt | Date: | Mon, 17 Feb 2003 19:16:27 +0000 |
| Subject: | Re: [SMARTY] Simple question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7803@lists.php.net to get a copy of this message | ||
I think this question needs to be on the top of the FAQ, it comes up
once a week.
http://smarty.php.net/contribs/examples/dynamic_table_columns/table.tpl.txt
On Mon, 2003-02-17 at 12:59, Garland Foster wrote:
> Hi all,
>
> I have a simple question: I have an array of "n" elements and want to display it in
> an HTML table of "c" columns,
> example for 10 elements and 3 columns:
>
> e1 e2 e3
> e4 e5 e6
> e7 e8 e9
> e10
>
> Which is the best way to do this using Smarty (elegant, compact, etc....)
>
> Thanks a lot.
> Garland.
--
Monte Ohrt <monte@ispi.net>