471,336 Members | 976 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Automatic "New Page" When product list is too long

tharden3
916 512MB
I'm data-basing products for a local manufacturing company (I've been designing their entire website). Can I write PHP so that I set the limit of products visible per page, and then if the number of products exceeds that limit, it automatically generates another page?
Jan 19 '09 #1
5 1233
Markus
6,050 Expert 4TB
@tharden3
'Course you can, pal.

What you're thinking of is done quite commonly, actually, on sites like google where they give you so many items and then a section of links at the bottom going to the next page. It's called pagination.

Check this out: Paging Using PHP - PHP MySQL Tutorial

Markus.
Jan 19 '09 #2
tharden3
916 512MB
Ahh, awesome! Thanks very much.
Jan 20 '09 #3
Markus
6,050 Expert 4TB
@tharden3
No problamo.

Markus.
Jan 20 '09 #4
tharden3
916 512MB
@Markus
Before you know it, I'll be designing my own search engine. I'll give it a clever name... something that will stick...
I'll call it Booble.

Err uhh... hmmm...
Jan 20 '09 #5
Markus
6,050 Expert 4TB
@tharden3
Booble.com is already taken - Aparently, it's a great porn search engine. Coincidence?

--

For administrative rule, thread closed.
Jan 20 '09 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Matthew Ferri | last post: by
16 posts views Thread by garyolsen | last post: by
30 posts views Thread by seesaw | last post: by
24 posts views Thread by Rv5 | last post: by
350 posts views Thread by Lloyd Bonafide | last post: by
30 posts views Thread by Medvedev | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.