PDA

View Full Version : [PHP] Recuperare un valore da un array


diablo.78
16-09-2009, 14:17
Salve,
ho un array cosė strutturato:
stdClass Object
(
[taxonomy] => Array
(
[184] => stdClass Object
(
[tid] => 184
[vid] => 3
[name] => home
[description] =>
[weight] => 0
)

)

Come faccio a visualizzare il valore di "tid"?
Grazie mille in anticipo...

CwNd
16-09-2009, 14:22
Dovrebbe essere:

$variabile->taxonomy[184]->tid

diablo.78
19-09-2009, 12:12
Grazie mille!