Extract XML/JSON element from Zillow API response and populate into Gravity Forms field

the first step is to extract the value with this kind of code, does it work for you ? $xml = simplexml_load_string($result); $value = (string) $xml->response->results->result->zestimate->amount; var_export($value, FALSE); the next step is to put the value in the form. the Gravity Form is not free then we cannot test it and I only find that … Read more

WordPress Custom Rest Api – How to get Image Url?

$post->ad_1[0][‘top_image’] will not return you data, because you are not in JS which got response from your REST api which had injected ad_1 value into object which it returns to you. In your PHP code $post is of type WP_Post and it doesn’t have ad_1 in it, that’s why you getting nulls. I don’t know … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)