$pm = $DB_site->query_first("SELECT fromuserid FROM privatemessage WHERE privatemessageid = ".intval($array2[1]));
Show Your Support
$pm = $DB_site->query("SELECT fromuserid FROM privatemessage WHERE privatemessageid = ".intval($array2[1]));
global $DB_site;