Re: [PHP] Message Board Question

2003-03-11 Thread Tom Rogers
Hi, Tuesday, March 11, 2003, 8:31:47 PM, you wrote: c> Hi, this is kind of a complex question, Im making a message board, now I c> dont want list, lets say, all 25 messages on the same page. I would like c> to have <- previous 1 2 3 next -> type of links and only list 5 messages c> per page and

Re: [PHP] Message Board Question

2003-03-11 Thread W. Enserink
maybe use mysql to retrieve only 5 records. $query="select * from table limit [1,5]"; //search in the mysql manual to be sure! this limit thing you can make variable $limit_thing_max=5; $limit_thing_min=$pagenumber*$limit_thing_max; $query = "select * from table limit [$limit_thing_min,$limit_th