page 1, page 2

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
rapaddict_dot_com
Forum Commoner
Posts: 27
Joined: Tue Mar 16, 2004 4:54 pm

page 1, page 2

Post by rapaddict_dot_com »

if im pulling a bunch of crap from a DB like for a search engine how do I make it so I can go PAGE 1 PAGE 2 etc?
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Use SQL 'LIMIT' and 'OFFSET' commands or search these forums... It has been asked for quite a few times.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Re: page 1, page 2

Post by JayBird »

rapaddict_dot_com wrote:if im pulling a bunch of crap...
is that a technical term? :lol:

Mark
rapaddict_dot_com
Forum Commoner
Posts: 27
Joined: Tue Mar 16, 2004 4:54 pm

...

Post by rapaddict_dot_com »

can you make a small example? just so I can see it...

please


and mark, I was very tired when I wrote that, excuse the colloquialism
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

lazy people, all you had to do was search. :evil:

viewtopic.php?t=18466
Post Reply