I assume you are using a for loop.
Difine $counter=0
Run the loop once with
$counter = $counter+1;
Use counter to give total number of records that match the filter.
use a while loop to recall all results
use a IF statment to limit the results to 10 per page
IF(($whileCount>=$record1)&&($whileCount<=$record1 +10)){
Print(Your print statment);
}
I hope that this helps (it should work will need a bit of tinkering though)
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks