construct_page_nav($param1, $param2, $param3);
$param1 is the total number of items, $param2 is the basic link of that page, $param 3 is optional for the sub string of that link (in $param2.
for e.g:
construct_page_nav($totalitemsfromquery, "script.php?$session[sessionurl]id=$id", "&cmd=sort&sort=$sort&order=$order& ;pp=$perpage&daysprune=$da ysprune");
hope this help.
|