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
Spilting News to pages
Moderator: General Moderators
Re: Spilting News to pages
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
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
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
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
Search these forums for 'pagination' too - this has been asked many times before.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Re: Spilting News to pages
thanks guys