Jump to content


Photo

Dividing MySQL Results


  • Please log in to reply
3 replies to this topic

#1 turbocueca

turbocueca
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 23 March 2006 - 05:58 PM

How can I divide MySQL DBs in multiple pages automatically. For example, a db has an output limit of 10 but it has 30 records, but below the records outputting there is a link to page 1, 2 and 3 that show all 30 records.

Can someone help me?

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 23 March 2006 - 06:14 PM

I changed the title... you want to split the results, not the DBs. And there are a hundred examples of how to do this throughout the forums and most likely there is a tutorial on the main portion of this site. I suggest you do a search.

Info: PHP Manual


#3 txmedic03

txmedic03
  • Members
  • PipPipPip
  • Advanced Member
  • 313 posts
  • LocationCall, TX, USA

Posted 23 March 2006 - 06:48 PM

There is an excellent pagination example on the tutorials of this site.

SEMPER FIDELIS!

I can't stop you from doing something silly, but at least I can help you do it right.


#4 turbocueca

turbocueca
  • Members
  • PipPipPip
  • Advanced Member
  • 62 posts

Posted 23 March 2006 - 08:12 PM

ok i'll check it out




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users