basic JSON pulling data help..
- by Webby
New to json data and struggling i guess the answer is real easy but been bugging me for the last hour..
Sample data
{
"data":
{
"userid": "17",
"dates": {
"timestame": "1275528578",
},
"username": "harino54",
}
}
Ok I can pull userid or username easy enough with
echo "$t->userid" or echo "$t->username "
but how do I pull data from the brackets within ? in this case timestame?
cant seem to figure it out..
any ideas?