there also needs to be a line between 81- 82:
$startRow_WADAjobs = $pageNum_WADAjobs * $maxRows_WADAjobs;
mysql_select_db($database_timesheets, $timesheets);
should be:
$startRow_WADAjobs = $pageNum_WADAjobs * $maxRows_WADAjobs;
mysql_select_db($database_timesheets, $timesheets);
yu may need to save and reopen the page after making the change to see the recordset.