$query = mysql_query("SELECT * FROM `usuarios` WHERE `Nombre` = '" . mysql_real_escape_string($NICK) . "';"); $row = mysql_fetch_assoc($query);