pagination help
I got a result page. i customized it to my template.
Now i m unable to add pagination. i added at the end of the page but doesn't seem to show.
Can you take a look?
www.shrishtiart.com/artworks.php
Only 30 results are shown there, i wanna show next, prev buttons at bottom.
artworks_results.php orignal page by data bridge.
these are the codes for pagination:
<div class="WADAResultsNavigation">
<div class="WADAResultsCount">Records
<?php echo ($startRow_WADAartworks + 1) ?>
to
<?php echo min($startRow_WADAartworks + $maxRows_WADAartworks, $totalRows_WADAartworks) ?>
of
<?php echo $totalRows_WADAartworks ?>
</div>
<div class="WADAResultsNavBottom">
<table border="0" cellpadding="0" cellspacing="0" class="WADAResultsNavTable">
<tr valign="middle">
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAartworks > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAartworks=%d%s", $currentPage, 0, $queryString_WADAartworks); ?>" title="First"><img border="0" name="First1" id="First1" alt="First" src="WA_DataAssist/images/Pacifica/Refined_first.gif" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAartworks > 0) { // Show if not first page ?>
<a href="<?php printf("%s?pageNum_WADAartworks=%d%s", $currentPage, max(0, $pageNum_WADAartworks - 1), $queryString_WADAartworks); ?>" title="Previous"><img border="0" name="Previous1" id="Previous1" alt="Previous" src="WA_DataAssist/images/Pacifica/Refined_previous.gif" /></a>
<?php } // Show if not first page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAartworks < $totalPages_WADAartworks) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAartworks=%d%s", $currentPage, min($totalPages_WADAartworks, $pageNum_WADAartworks + 1), $queryString_WADAartworks); ?>" title="Next"><img border="0" name="Next1" id="Next1" alt="Next" src="WA_DataAssist/images/Pacifica/Refined_next.gif" /></a>
<?php } // Show if not last page ?></td>
<td class="WADAResultsNavButtonCell" nowrap="nowrap"><?php if ($pageNum_WADAartworks < $totalPages_WADAartworks) { // Show if not last page ?>
<a href="<?php printf("%s?pageNum_WADAartworks=%d%s", $currentPage, $totalPages_WADAartworks, $queryString_WADAartworks); ?>" title="Last"><img border="0" name="Last1" id="Last1" alt="Last" src="WA_DataAssist/images/Pacifica/Refined_last.gif" /></a>
<?php } // Show if not last page ?></td>
</tr>
</table>
</div>
</div>
Which line should i add these codes?