query(" SELECT m.Message, c.Level, c.UserID FROM staff_pm_messages as m JOIN staff_pm_conversations AS c ON m.ConvID = c.ID WHERE m.ID = '$PostID'"); list($Message, $Level, $UserID) = $DB->next_record(MYSQLI_NUM); if (($LoggedUser['ID'] == $UserID) || ($IsFLS && $LoggedUser['Class'] >= $Level)) { // This gets sent to the browser, which echoes it wherever echo trim($Message); } else { error(403); } ?>