Have array
Array (
[3] =>
stdClass Object (
[term_id] => 3
[name] => Lietuviu
[slug] => lietuviu
[term_group] => 0
[term_taxonomy_id] => 3
[taxonomy] => kalba
[description] =>
[parent] => 0
[count] => 7
[object_id] => 135
)
)
want display: [name] => Lietuviu , try $var[3][name]
, but this not work
$var[3]
is an object, so$var[3]->name
. – Jack Nov 14 '12 at 15:05