Haven't tested this but it should give you the general idea on how to
accomplish a table:
{section loop=$data name=i}
{$data[i].image} | {$data[i].description} |
{/section}
With best regards
Gabriel Birke
--
KONTOR4_Neue Medien
Plathnerstraße 5
30175 Hannover
Fax: +49 51184 48 98 99
mailto:birke@kontor4.de
http://www.kontor4.de
Am 30.04.2004 um 12:29 schrieb Pete:
> Hi there,
>
> I have an array containing the image name and description accessible
> though
> $data[i].image and $data[i].description in a smarty {section}.
>
> I just don't understand how i can dynamically create a table in smarty
> that
> has lets say two columns.
> Would anybody be so kind to explain to me how to do it ?
>
> Thank you very much.
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php