codice: <?php $tabella = file("comuni.txt"); for ($x=13; $x < count($tabella); $x++) { $comune[] = trim(substr($tabella[$x],0, 35)); } ?> Con questo metti i comuni in un array
<?php $tabella = file("comuni.txt"); for ($x=13; $x < count($tabella); $x++) { $comune[] = trim(substr($tabella[$x],0, 35)); } ?>
PUGIA.COM
Regole del Forum