json - How I can read parameter PHP -


how can read return of parameter?

i have try use $_get, it's working parameter $_get['name'], parameters city, doesn't working... how's best way this?

object { name: "test", city: object } city: object  city: object    city: "bulls gap"    state_code: "tn" org_name: "test" 

thanks ideal!

suppose json variable $json, need this:-

$obj = json_decode($json); echo $obj->access_token(like name, city);// means $obj->name 

note:- city std class object try convert normal array , values.


Comments

Popular posts from this blog

javascript - Complete OpenIDConnect auth when requesting via Ajax -

c# - Replace text in MailItem Body -

java - Get more than One value and display it -