Welcome to WebmasterWorld Guest from 54.145.235.72

Forum Moderators: coopster & jatar k

create new page if results is more than 10

   
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.
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.
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.

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

5+ Year Member



i figured out how to do it thanks
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month