Jump to content


Photo

Divide report in pages


  • Please log in to reply
1 reply to this topic

#1 nestorvaldez

nestorvaldez
  • Members
  • PipPip
  • Member
  • 12 posts

Posted 08 September 2006 - 09:14 PM

I need some help, I have a long report query more than 300records and increasing, so it get slow, so I need to insert in my website the posibility to divide it in pages of 10 records or what ever amount, but divide it.
I have seen it  in other website something like this en to bottom of the page:
First Next Previous Last

is something like that if somebody can help with this....


#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 08 September 2006 - 09:42 PM

Sure ... pagination is the magic word for what you want. And a query that LIMITs the number of records returned.  There's an excellent pagination tutorial in the tutorials section at www.phpfreaks.com that will help get you going on this.
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users