/    Sign up×
Community /Pin to ProfileBookmark

Howto: Limited results per page

hi guys

I have many records of customers in a sql database and want to display 10 records per page and a combobox which contains all the page numbers so that the user can select any page he/she wants to view.

I have searched on google but found a bit confused script which i didn’t understand at all.

please help me some simple and understandable script.

thanks in advance

regards
Jack

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@Declan1991Aug 19.2007 — What you want is to use "LIMIT 0,10" for page one in the MySql Query, "LIMIT 10, 20" for the second page etc.
Copy linkTweet thisAlerts:
@jack001authorAug 20.2007 — dear Declan1991

can you please help me with some example??

thanks in advance

Jack
Copy linkTweet thisAlerts:
@pcthugAug 20.2007 — Google Pagination
Copy linkTweet thisAlerts:
@Declan1991Aug 20.2007 — They have it done. Just look up "Google Pagination".
×

Success!

Help @jack001 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.12,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,
)...