How can i make it so that every 10 rows in MySQL, it adds a new page to my switch function? im trying to make a News Archive in which it displays 10 posts on each page and adds a new page to the archive when it goes over 10?
http://www.phpbuilder.com/columns/rod20001214.php3
Does anyone have anything smaller? I really dont understand anything on that tutorial.. im a n00b
Hi slaya, Have a look at the LIMIT function in MySQL.
select * from table LIMIT $where_to_start, $number_of_records
HTH Steve
Yea I got that, the problem I am having now is inserting the old posts in a archive, and creating a new archive for every 10 old posts.