Script for making dynamic tables

Hi,

Does somebody have a nice script laying around which you use for generating tables dynamically - you know, much like the tables you get in html with the table, td, and tr-tags?

Thanks