Jump to content

Pagination problem


phpwolf

Recommended Posts

Hi,

I'm having a problem with my search and pagintion script.

 

Here is my Setup:

 

Apache 2.2.14

MySQL 5.1.41

PHP 5.3.1

Ubuntu 9...

 

 

Databasename:  mysqldb

Table:  mysqldbtable

Columns:  ID, CLIENTNAMES

Php file:  search.php  ( in htdocs folder )

 

 

Pagination part is based on the tutorial from Crayon Violent on phpfreaks.com

The Best pagination tut on the web!

 

The problem is the script seems to count and make pagelinks for all rows in the databasetable, and not as it should which is the number of rows from the $_SESSION['mysqlquery'] only.

 

 

Any idea on how to  make the script only count and make pagelinks for the results of the $_SESSION['mysqlquery'], and not for all the rows in the table?

 

 

Any help wil be greatly appreciated.

 

Thanks.

 

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/193233-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.