Forum Moderators: coopster

Message Too Old, No Replies

need pagination help

         

ploppy

2:48 pm on Oct 4, 2007 (gmt 0)

10+ Year Member



hi. i am starting coding a new db and need to understand how pagination works from scratch. at the simplest level, i have php file that uses this command

$query  = "select title, description, date from reslink where category_id=1 LIMIT 10";

bearing in mind that this entry would produce 1000 results, i need a way to break the entries down into 10 at a time. a friend of mine suggested i should look at pagination. i would be grateful if someone could give me a kickstart so i can start getting this to work. many thanks

distorto

3:18 pm on Oct 4, 2007 (gmt 0)

10+ Year Member



do a search on this website for php pagination. I got my head around writing a custom pagination class just from reading posts on this website.

jatar_k

5:08 pm on Oct 4, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



try this one
[webmasterworld.com...]