$var
is an array:
Array (
[0] => stdClass Object ( [ID] => 113 [title] => text )
[1] => stdClass Object ( [ID] => 114 [title] => text text text )
[2] => stdClass Object ( [ID] => 115 [title] => text text )
[3] => stdClass Object ( [ID] => 116 [title] => text )
)
How can we call [title]
from some [ID]
? (without touching [0], [1], [2], [3]
)
Like, if we call $var['114']['title]
it should give text text text
Thanks.