Tags

function _table_tester() {
$header = array('Node ID', 'Title', 'Type', 'Terms', 'Created', 'Published', 'Sticky', 'Promoted');
$rows = array();

$rows[] = array(1, 2, 3, 4, 5, 6, 7, 8);
$rows[] = array(2, 2, 3, 2, 3, 3, 2, 3);

return theme('table', array('header' => $header, 'rows' => $rows));
}

$tables = _table_tester();

echo $tables;