Hi
I'm building a news page with 2 sets of articles from 2 different recordsets.
Putting a navigator(next/last/...) per set is easy but clicking 'next' on one of the sets only navigates to the next page for that set.
I would like to have 1 single 'next' button that updates both sets.
the 2 buttons I have now are:
<?php { ?>
<a href="<?php printf("%s?pageNum_newssmall=%d%s", $currentPage, min($totalPages_newssmall, $pageNum_newssmall + 1), $queryString_newssmall); ?>">Next</a>
<?php } ?>
AND
<?php { ?>
<a href="<?php printf("%s?pageNum_newsbig=%d%s", $currentPage, min($totalPages_newsbig, $pageNum_newsbig + 1), $queryString_newsbig); ?>">Next</a>
<?php } ?>
How can I combine those 2 in 1 button?
Thanks in advance!
Dominique