$query = mysql_query("SELECT * FROM attacklog WHERE userattack = '$user' ORDER by id DESC LIMIT 10");