Aqui esta el script que tulizo y que vi en algun tutorial del foro.
Código PHP:
<?php
$con = menu(1); $columnes = 5;
for ($i=1; $row = mysql_fetch_row ($con); $i++) {
$resto = ($i % $columnes);
if ($resto == 1) {echo "<ul>";}
echo '<li><a href="index.php?vairableget='. $row[0].'">'.$row[2].'</a></li>';
if ($resto == 0) {echo "</ul>";}
}
?>