<?phpif(!$whichpage){$notepage=1;}else{$notepage=$whichpage;}$noterecs=0;$pagesize=10;$bbsconn=mysql_connect("localhost","root");mysql_select_db("rainwindy",$bbsconn);$bbsresult=mysql_query("select*frombbsorderbyiddesc",$bbsconn);$rsnum=mysql_num_rows($bbsresult);$pagecount=ceil($rsnum/$pagesize);mysql_data_seek($bbsresult,($notepage-1)*10);?><dival...