'.$content[0]; } if ($_GET["origin"]=='whoisonlinejoin') { //the joiner (we have to delete the chat request to him when he joins the chat) $track_user_table = Database::get_main_table(TABLE_MAIN_USER); $sql="update $track_user_table set chatcall_user_id = '', chatcall_date = '', chatcall_text='' where (user_id = ".$_user['user_id'].")"; $result=api_sql_query($sql,__FILE__,__LINE__); } echo '