manu11 Posted May 1, 2004 Share Posted May 1, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.