How to do Paging in PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sheikhmdirfan
Forum Newbie
Posts: 22
Joined: Tue Jan 20, 2009 12:21 am

How to do Paging in PHP

Post by sheikhmdirfan »

Dear All,

I have a user table where several details of users are displayed.
I wanted to display only 10 users at a time and give the user option to surf other users using paging in PHP.

Anyone who knows how to do Paging in PHP.. Please help..

Thanks in Advance...
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: How to do Paging in PHP

Post by requinix »

Dear All,

I have a car engine which works.
I wanted to drive across the country and give the user option to refill gas tank.

Anyone who knows how to build Car.. Please help..

Thanks in Advance...
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: How to do Paging in PHP

Post by jaoudestudios »

haha :lol:

Try using LIMIT $x, $y at the end of your query.
Griven
Forum Contributor
Posts: 165
Joined: Sat May 09, 2009 8:23 pm

Re: How to do Paging in PHP

Post by Griven »

Post Reply