How to access youtube data api json response $t variable in php?
Posted
by john
on Stack Overflow
See other posts from Stack Overflow
or by john
Published on 2010-06-05T06:00:03Z
Indexed on
2010/06/05
6:02 UTC
Read the original article
Hit count: 141
I'm getting a JSON response from the YouTube Data API.
Here is a sample response of the Title variable:
stdClass Object ( [$t] => Video Title )
How do I access the $t variable?
$blah->$t won't work because it looks for a variable by $t, and not a member of $blah with name $t.
© Stack Overflow or respective owner