Sun Sims Forums

Sun Sims Forums (http://www.sunsims.com/forums/index.php)
-   USL Features (http://www.sunsims.com/forums/forumdisplay.php?f=39)
-   -   Page Through the Big Lists (http://www.sunsims.com/forums/showthread.php?t=371)

Greg 06-04-2007 04:26 AM

Page Through the Big Lists
 
I'd like to be able to page through those big lists, such as the one that lists every site that links to the Ultimate Sims List. The button page is a good exmaple. It's neat, but having to download hundreds of little buttons on one single web page is only amusing once.

Miros1 06-04-2007 10:45 AM

Well, the first decision you have to make is how many entries per page.

Then you modify the SQL to get the (n-1)*m+1 to n*m entries, where n is the page number and m is the entries per page. I have my SQL book right here by my knee, will look it up after you pick "m."

Greg 06-04-2007 08:29 PM

Yup. It's just a matter of picking a number and programming it. Not urgent, though.


All times are GMT. The time now is 11:30 AM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.