PHP Code:
$rows = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "tablenamehere");
while ($row = $db->fetch_array($rows)) {
eval('$rowbits .= "' . fetch_template('templatenamehere') . '";');
}
Replace 'tablenamehere' with the name of the table which has the rows you want to print out. Replace 'templatenamehere' with the name of the template you want printed for every row in that table. Obviously you have to create a new template (templatenamehere). This template will be printed to the browser (eval'd) over and over again for each row in the table (tablenamehere). In the template you put your html and variables you want displayed for each row.