Jump to content


Photo

pagination problem


  • Please log in to reply
No replies to this topic

#1 manu11

manu11
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 01 May 2004 - 07:04 AM

Hi,

I would like to use a button (always the same - a little square) instead of the
1 | 2 | 3 | 4 | .... for pagination.

I'm not sure how difficult it is.

I have this code for displaying like 1 | 2 |3...

-----------------------------------------------

<?php
for ($i=0; $i <= $totalPages_RSout; $i++) {
$TFM_PagesEndCount = $i + 1;
if($i != $pageNum_RSout) {
printf('<a href="'."%s?pageNum_RSout=%d%s", $currentPage, $i, $queryString_RSout.'">'.$TFM_PagesEndCount."</a>");
}else{
echo("<b>$TFM_PagesEndCount</b>");
}
if($i != $totalPages_RSout) echo(" | ");
}
?>

----------------------------------------

I could i change it in a way that i could use a button?

Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users