this is my first mail to the list since i began using html::template one year ago.
i have the following problem:
i have an threaded discussion forum for which I want to use html::template. I get the guestbook-data via DBi from a MySQL-Server.
I process this data within a recursive function, which calls itself until no record has any more children. By now I append all html-data with
$html .= $html;
and add it ot html::template as a scalar param ( $t->param('forum_data' => $html) and this works fine. but this is bad if you want to style certain rows in a different way from other rows. But i don't know how to handle this with TMPL_LOOP, since I never can know, how many children exist for one parent and how deep this hierarchy will be.
has anyone on this list done something like this and could point me in the right direction?
Thanks in advance for any help,
Ralf
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users