New to PHP....I am trying to access a value in an array that comes from a decoded json file. I printed my variable to the screen, and this was returned...
Array (
[0] => stdClass Object (
[period] => 0
[title] => Sunday
[fcttext] => Mostly cloudy with a chance of ...
[pop] => 50 )
[1] => stdClass Object (
[period] => 1
[title] => Sunday Night
[fcttext] => Partly cloudy. Low of 64F. Win....
[pop] => 10 )
[2] => stdClass Object (
[period] => 2
[title] => Monday
[fcttext] => Partly cloudy. High of 90F. Winds less than 5 mph.
[pop] => 10 )
[3] => stdClass Object (
[period] => 3
...
)
)
How do I access, for instance, the fcttext from period 1?
Thanks!