Мое имя объекта составляет $ distinct1
print_r($distinct1)
показывает объект ниже, но когда я пытаюсь сделать
echo $distinct1->properties->city
ИЛИ
echo $distinct1->distinct_id
Я не получаю никакого значения возврата. Любая идея, что происходит?
stdClass Object
(
[$distinct_id] => AAA
[$properties] => stdClass Object
(
[$city] => Palo Alto
[$country_code] => US
[$region] => California
[$name] => John Smith
)
)
Uhhh - это ваше поле с именем ''properties'' или' '$ properties''? – miorel