PHP - Get a specific value in an array
- by Charles Yeung
Hi
Suppose I have the code below:
[taxonomy] => Array
(
[118] => stdClass Object
(
[tid] => 118
[vid] => 4
[name] => A
[description] =>
[weight] => 4
)
[150] => stdClass Object
(
[tid] => 150
[vid] => 5
[name] => B
[description] =>
[weight] => 0
)
)
How can I only get the tid number and exclude others, could someone please give me a suggestion?
Thanks you