0

Ok, here is the problem. I have an article directory and there are over 200 categories. When you go to a category it shows like 15 articles and at the top right and lower left it has like:

Page: 1 2 3 4 5 6 7

When you are on page 1 and click to go to page the page refreshes and you stay on page 1.
No matter what page you click you stay on page 1.

Any suggestions?

Edited by quibbie: n/a

3
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by diafol
0

You have to post your code, otherwise look at line 456 and add a ';'

I guess I am not sure what code you want.

0

The nuke codes man! We need the launch codes.

Anything that relates to your pagination would be of interest.
The code where it is implemented, and also the code that actually generates the pagination.

0

The nuke codes man! We need the launch codes.

Anything that relates to your pagination would be of interest.
The code where it is implemented, and also the code that actually generates the pagination.

</tr>
			<?}?>
			 <tr> 
			  <td align="left" background="images/boxbotbg.gif"><img src="images/boxbotleft.gif" width="13" height="6"></td>
			  <td background="images/boxbotbg.gif"><img src="images/boxbotbg.gif" width="4" height="6"></td>
			  <td><img src="images/boxbotright.gif" width="11" height="6"></td>
			</tr>	
		 <tr> 
			  <td colspan=2><img src="images/trans.gif" width="4" height="9"></td>
		</tr>
		  </table><font class=bodylinks>Go To Page :
		  <?php $pg->showPaging("", "&page=category&category_id=".$_GET["category_id"]); ?></font>&nbsp;<a href="articlerss.php?type=2&category=<?=$_GET["category_id"]?>"><img src="images/rss.jpg" border=0 alt="See As RSS"></a>
		  <hr color="D6D6D6">
			

		  </table>
0

OK, I think I see the picture. You've used a pagination class and don't know how to modify it. Ask the guy who wrote it. The code you posted doesn't help. You need to show showPaging.

I will share a vision with you:

Your html is deprecated, you're passing unsanitized querystring parameters AND you're using short tags for php. Get the basic right before attempting to use classes.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.