[support] paging in d6

Walter Garcia-Fontes walter.garcia at upf.edu
Thu Feb 11 08:15:30 UTC 2010


* spartaguy spartaguy [11/02/10 01:29]:
> I want to have a pager after every 10 results displayed.
> 
> How can I do this? theme_pager??

Assuming you have already fetched $output with your results:

$output = ... (I fetched a table for instance)
$output .= theme('pager', NULL, 10, 0);
 
print $output;

-- 
Walter Garcia-Fontes
Barcelona



More information about the support mailing list