dbh_do($query); $followups=count($fcontents); for ($i=0; $i<$followups; $i++) { $contents=htmlspecialchars($fcontents[$i]); $tracking=$followup_id[$i]; $fquery="UPDATE followups set contents='$contents' where (ID='$tracking') and (tracking='$ID')"; $count = $adb->dbh_do($fquery); } logevent($ID, "ticket", 4, "database", "Ticket updated by $IRMName"); header("Location: $USERPREFIX/ticket/followups.php?ID=$ID"); ?>