Trying to print properties of stdClass object in Php

iisasw5wit

New Member
My object name is $distinct1\[code\]print_r($distinct1)\[/code\] shows the object below but when I try to do\[code\]echo $distinct1->properties->city\[/code\]OR \[code\]echo $distinct1->distinct_id\[/code\]I don't get any value return. Any idea whats going on? \[code\]stdClass Object( [$distinct_id] => AAA [$properties] => stdClass Object ( [$city] => Palo Alto [$country_code] => US [$region] => California [$name] => John Smith))\[/code\]
 
Back
Top