$comprobar = mysql_query("select * from usuarios where nick='".$_POST["nick"]."' or email='".$_POST["email"]."'");