Welcome to WebmasterWorld Guest from 54.146.240.181

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

create new page if results is more than 10

     

tr8er8

1:35 am on Dec 18, 2008 (gmt 0)

5+ Year Member



im displaying news articles from a database, and im trying to get it so it displays a new page if i have more than 10 articles. so like the default page will just display 10 results, but if theres more, it displays the rest on the next page, and so on.

thewaiter

2:33 am on Dec 18, 2008 (gmt 0)

5+ Year Member



Hi tr8er8,
Since you didn't leave any code, I would Google "php pagination" and you will get tons of results, it's what I did when I needed a solution for that.

eelixduppy

5:53 am on Dec 18, 2008 (gmt 0)

WebmasterWorld Senior Member eelixduppy is a WebmasterWorld Top Contributor of All Time 5+ Year Member



[webmasterworld.com...]

A thread that might help you get started.

tr8er8

3:53 pm on Dec 18, 2008 (gmt 0)

5+ Year Member



i figured out how to do it thanks
 

Featured Threads

Hot Threads This Week

Hot Threads This Month