How can i get the firstName values from this array?
its easy with print_r, but I want individual values
Array
(
[0] => stdClass Object
(
[id] => 106288917
[firstName] => xxxxx
[lastName] => yyyyy
)
[1] => stdClass Object
(
[id] => 106258850
[firstName] => zzzzz
[lastName] => ttttt
)
)
You can do:
Since your array contains objects eg
stdClass, you need to use->like shown above.