PHP Multi Page Results Class

Separates results on multiple pages.

Note: requires PHP 4.1.0 or higher because it uses the new superglobal variable names like $_GET, $_POST, etc.

Download

multipage.php
PHP Class for separating result pages

Related Links

Comments

Error !

When I used this program, it gives me an error. The error happens when my limit for each page is met. When I click on the number 2 (or the 2nd page) page button or the Next button it does not go to the 2 page of entries. Any help!

program

This program work fine when you list all of the records but when you want certain records, it show a database error. I think it is because the field is not index in the database.(Have not test this solution)

pfff

Mr. Martin you are just giving away gold! !!
Thank you, and as a new coder I follow your example.

Ι'm afraid, i don't know how to make it work...
:(

I create a file named auery.php

results;

?>

I get the following error

Fatal error: Cannot pass parameter 1 by reference in /mnt/hdc1/hdc1/tools/internet_programming/code_pieces/multi-page-results/mtdev.com/query.php on line 4

What am i doing wrong!

Ι'm afraid, i don't know how to make it work...
:(

I create a file named query.php

results;

?>

I get the following error

Fatal error: Cannot pass parameter 1 by reference in /mnt/hdc1/hdc1/tools/internet_programming/code_pieces/multi-page-results/mtdev.com/query.php on line 4

What am i doing wrong!

the php code i tried to pass doesn't appear in my posts!