Need someone to fix some php code. I have code which paginates output from a mysql database (sort of like a guest book). I am trying to sort data on a particular database column--rather than print all entries-- and paginate output. My code works for the first page of output, but when the page is reloaded to process second page the rest of the database entries are listed. This is probably an easy fix with someone with more experience than myself.