in reply to Catalyst question on database

Assuming you're using a Template Toolkit View and @comments is an array of hashrefs, you can use a construct like the following in your template:
<table> [% FOR c = comments %] <tr> <td>c.key1</td> <td>c.key2</td> </tr> [% END %] </table>


holli, /regexed monk/

Replies are listed 'Best First'.
Re^2: Catalysts question on database
by gennoob (Initiate) on Apr 19, 2006 at 09:21 UTC
    Thanks very much!