Ho questo array:
Viene richiamato così:Codice PHP:
$CN = array();
$CN["af"]="Afghanistan";
$CN["al"]="Albania";
$CN["dz"]="Algeria";
$CN["as"]="American Samoa";
$CN["ad"]="Andorra";
ecc..
Me li restituisce tutti meno che il primo.Codice PHP:
while (list($ElementIndexValue, $ElementContents) = each($CN)){
echo key($CN);
echo current($CN);
}
Ho provato anche con:
$CN = array(0);
e mi restituisce anche il primo ma ne lascia sempre uno vuoto in fondo
che devo fa'?