![]() |
Limiting in mySQL
Hi, how would I limit in mysql, like on the first page there would only be 50, then on the next 50-100 and so on?
Thanks -Arunan |
I would also like to know this:P
Satan |
Quote:
-Arunan |
Possibly...But I am interested in learning anything and everything about PHP & MySQL:)
Satan |
Fifty what? Threads? Posts?
The basic query is: PHP Code:
|
Well, like after the 50 is posted, how would i make it so on the next page, all the stuff from 51-100 are shown?
Is it something like [sql]$DB_site->query("SELECT * FROM thread LIMIT 51,100");[/sql] ? -Arunan |
You got it noX :D
Should be $DB_site->query_first though I think ;) |
So
[sql]$DB_site->query_first("SELECT * FROM thread LIMIT 51,100");[/sql] Thanks -Arunan |
That looks good to me noX :D
|
Thanks NTLDR, thanks Velocd
Appreciate your continuted support here :) -Arunan |
All times are GMT. The time now is 11:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|