prepare($query); if($sth) { $res = $sth->execute(); $numRows = $sth->rows(); if ($numRows == 0) { PRINT "No Tracking Found"; } else { Tracking::displayHeader(); for ($i = 0; $i < $numRows; $i++) { $result = $sth->fetchrow_hash(); $IDjob = $result["ID"]; $track2 = new Tracking($IDjob); $track2->display($showfollowups); } Tracking::displayFooter(); } } else { PRINT "Could not prepare query: ".$sth->errstr."
\n"; } ?>