Re: [SMARTY] Simple question
| From: | Monte Ohrt | Date: | Mon, 17 Feb 2003 22:42:32 +0000 |
| Subject: | Re: [SMARTY] Simple question | ||
| References: | 1 2 3 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7809@lists.php.net to get a copy of this message | ||
You're right, this is more of a "quick fix" than the most elegant
solution. There will be an html_table function for Smarty that will make
this particular task easier and faster, but until then you can use this
method, or use one of the other custom functions that people have
contributed.
Monte
On Mon, 2003-02-17 at 15:26, Nino Katic wrote:
> Monte Ohrt wrote:
> > 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
>
> Monte,
>
> In this example you are using smartys math function which is said (in smarty
> manual) to be very resource demanding specialy if used in loops what
> sections are. So, how do you explain this contradictory?
>
> Nino
--
Monte Ohrt <monte@ispi.net>