volver."); while ($row = mysql_fetch_array($result)) { $tags[$row['tag']] = $row['quantity']; } $max_tam = 400; $min_tam = 70; $max_ntags = max(array_values($tags)); $min_ntags = min(array_values($tags)); $campo = $max_ntags - $min_ntags; if (0 == $campo) { $campo = 1; } $pso = ($max_tam - $min_tam)/($campo); $limit=19; if(isset($_GET["limit"])){ $limit = $_GET["limit"]; } ?> Nube de topónimos galegos

Nube de topónimos galegos

, por Berto Yáñez
Que conteñan o texto: /> Que se repitan polo menos:
Ei, a nube está filtrada, Quitar filtro'; } ?>
'; $contador=0; foreach ($tags as $key => $value) { if($value>$limit){ $contador++; $size = $min_tam + (($value - $min_ntags) * $pso); echo ''.trim($key).' '; } } if($contador==0) echo 'Non hai resultados, proba rebaixar a frecuencia do topónimo'; if($contador!=0 && $contador < 10 && $limit !=0) echo '
Se ves que hai poucos resultados, proba rebaixar a frecuencia do topónimo
'; echo '
'; ?>