Jump to content

pagination problem


Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/1824-pagination-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.