///$user_id = ID пользователя ///$fighter_id = ID того кому отправляем уведомление update users set notice = '.$user_id.' where id = '.$fighter_id;
if(!empty($user_notice)){ ?>На вас напал .... <?php update users set notice = 0 where id = '.$user_id; }