the common pagination techniques deal with query like:
$sql = "SELECT * FROM table LIMIT 0,5";
where from the display in the page link I mention I'm guessing it uses query like:
$sql = "SELECT * FROM table WHERE message_id = 546546";
or am I guessing wrong?