Php & MySql Pagination Script
View Single Post
04-09-2009, 02:13 PM
Join Date: Feb 2009
Location: New York
Originally Posted by
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...
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay