Hi, I have a database that contains several thousands of records. I have a function that allows the user to view the records depending on what their search string is. Lets say that i chose to view the database by year, then title, then description. I would get about 111 records. I only want to display 100 records and then show the remaining records. This is what i have thus far: if ($count>$visible){ print " Next (what ever is left) "; } It works in the sense that it only shows 100, but then again it doesn't cause i don't know how to show the remaining records. ThanX! Kiko