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

Attached documentation: