Page 1 of 1

Spilting News to pages

Posted: Tue May 13, 2008 4:48 pm
by Blondy
hi guys
I have a page that has lots of news headline,
& I want to spilt them into pages just like forums do with the topics
any help will be regarded
my main problem is with mysql syntax.
thanks

Re: Spilting News to pages

Posted: Tue May 13, 2008 6:52 pm
by yacahuma
are you talking about a master -details
where the master will be the list of news a the detail the news itself? That how it is in this forum

Re: Spilting News to pages

Posted: Tue May 13, 2008 8:13 pm
by JacobT
Hey Blondy, this is called pagination. It's taking a large number of results and breaking them down into smaller chunks and displaying them on pages.

There's a very good beginner's tutorial that I found here. Unfortunately pagination is a little too involved to teach from scratch here.

http://biorust.com/index.php?page=tutor ... &tutid=103

Re: Spilting News to pages

Posted: Wed May 14, 2008 11:09 am
by pickle
Search these forums for 'pagination' too - this has been asked many times before.

Re: Spilting News to pages

Posted: Thu May 15, 2008 2:29 am
by Blondy
thanks guys