Theme function in Drupal 6

attetraverevsz

New Member
Im using Drupal 6.x. In my page i have the following code which prints a paged table.\[code\]$headers = array(array('data' => t('Node ID'),'field' => 'nid','sort'=>'asc' ), array('data' => t('Title'),'field' => 'title'), );print theme('pager_table','SELECT nid,title FROM {node_revisions}', 5, $headers );\[/code\]Is there a way i can pass the rows of a table as an array to the theme function ?
 
Back
Top