Jump to content

Archived

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

manu11

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.

Share this post


Link to post
Share on other sites

×

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.