hello,
i've got this array:
$cfg_sezioniPrincipali = array
(
cataloghi => 'Gestione dei Cataloghi',
viaggi => 'Gestione dei Viaggi',
servizi => 'Gestione dei Servizi',
utentiWeb => 'Gestione degli Utenti Web',
utenti => 'Gestione del Personale',
accounts => 'Gestione del BackOffice',
newsletter => 'Gestione delle Newsletter',
html => 'Gestione degli Uploads',
dumps => 'Gestione del DataBase',
bugzone => 'Help'
);
and i've got a variable ($sezione) that contains the KEY of each sections i visualize in my PHP page. how can i print the VALUE associated to the KEY ?
i've found array_search but it returns the KEY only.
thank you,
cheers
i've got this array:
$cfg_sezioniPrincipali = array
(
cataloghi => 'Gestione dei Cataloghi',
viaggi => 'Gestione dei Viaggi',
servizi => 'Gestione dei Servizi',
utentiWeb => 'Gestione degli Utenti Web',
utenti => 'Gestione del Personale',
accounts => 'Gestione del BackOffice',
newsletter => 'Gestione delle Newsletter',
html => 'Gestione degli Uploads',
dumps => 'Gestione del DataBase',
bugzone => 'Help'
);
and i've got a variable ($sezione) that contains the KEY of each sections i visualize in my PHP page. how can i print the VALUE associated to the KEY ?
i've found array_search but it returns the KEY only.
thank you,
cheers