$numero_mascota = mysql_query("SELECT * FROM mascotas ORDER BY numero DESC limit 1"); $numero_mascota = mysql_fetch_array($numero_mascota);