Hello.
I have complicated variable I Got from API by JSON, and I need to extract the “street”.
In this case - “*** I NEED TO GET THIS VALUE ***”
I have variable $data, that stores the following:
string(444) "{
"category":"Concert venue","category_list":[{
"id":"191478144212980","name":"Night Club"}
,{"id":"215343825145859","name":"Social Club"}]
,"location":{
"street":"*** I NEED TO GET THIS VALUE ***",
"city":"some city`",
"state":"",
"country":"some country","zip":"84101","latitude":31.221888491009,"longitude":34.802303128921},"name":"some name","id":"355358751735"}"
I have bolded the value I need to get. I tried for few hours and couldn’t get how to do this.
Is it even possible?