$var - 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 )
)
What can we call [title]from some [ID]? (not touching [0], [1], [2], [3])
For example, if we call $var['114']['title], he should givetext text text
source
share