or download this
# number of rows in db, this is actually pulled from the
# database, i'll just do 1000 here.
...
$origNUM = $termNUM - 25; # 25 is the entries i want to view per page
$termNUM = $rowNUM - (($numberset - 1) * 26);
# 26 is the entries plus 1, i guess i could have set a variable, but i
+'m lazy