Hello,
Im using Drupal 6.x. In my page i have the following code which prints a paged table.
$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 );
Is there a way i can pass the rows of a table as an array to the theme function ?
Please Help Thank You.