non ho tempo di vedere tutto il codice cmq proca così
if (!isset($_GET['start']) OR $_GET['start']<0) $start=0;
else $start=$_GET['start'];

al posto di

if (!isset($start) OR $start<0)
$start=0;