query("SELECT ModComment FROM reportsv2 WHERE ID=".$ReportID); list($ModComment) = $DB->next_record(); if (isset($ModComment)) { $DB->query("Update reportsv2 SET ModComment='".$Message."' WHERE ID=".$ReportID); }