View Single Post
Old 04-09-2009, 02:13 PM   #25 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Tanax View Post
Just a question; Why would you want a pagination script that is limited to MySQL results? Or even limited to database? Sometimes you want to paginate other things than results from a database.

Try to make it paginate data independent if it's result from a database, images from a folder, or just simply; An array of data.
Well, when we start to turn this into a class, I was thinking of having the SQL results be separate, so in theory you would be able to feed it anything I suppose. I guess it should be DB independant, but I personally haven't ran into any situations where I need pagination that doesn't deal with mySQL, so the thought never really occurred to me...
allworknoplay is offline  
Reply With Quote