Page 1 of 1

Programming a Forum: Multiple Reply Pages

Posted: Mon Jun 07, 2004 5:47 pm
by jonas
Hey, whats the best way to make sure that if you have a topic and it's replies are say 50, that it puts say 25 on a page and then the other 25 on another page.

I don't really know how to do this, so I would like some advice/examples of the best way to do this.

I'll probably end up making the 25 a variable that way people can set it themselves in their profile. I figure that would be best.

I know how to limit the output from the database but I really have no idea how to make it automatically make a new page for the replies, etc.

Thanks

Posted: Mon Jun 07, 2004 6:15 pm
by tim
research pagination.

=]. there is also a code snipplet in the code snipplets forum (duh?) for that

good luck

Posted: Mon Jun 07, 2004 6:20 pm
by tim
speak of the devil

viewtopic.php?t=18466

Posted: Mon Jun 07, 2004 9:00 pm
by jonas
You are my hero.

Posted: Mon Jun 07, 2004 10:08 pm
by tim
lol

_root.bow.play(1);