27 Feb
2000
27 Feb
'00
4:44 a.m.
So, I want to generate a table using DTML and data from a database. I want each row returned from the database to go into it's own html cell, and I want to have say, 4 html columns across the page before starting a new row. So like: <table> <tr> <td> Row 1 from DB </td> <td> row 2 from db </td> <td> row 3 from db </td> <td> row 4 from db </td> </tr> <tr> <td> row 5 from db </td> ... How can I do this? Is there some kind of dtml-if I can wrap around the </tr><tr> to only make it show every 4th row? -- Miksch's Law: If a string has one end, then it has another end.