I have following JSON Data and I tried to display Json data using PHP but it did not display result. Here is my JSON Data
$ads={"ReferenceNo":"KWPOG0QoXU","Message":"SUCCESS","Status":1,"ResponseStatus":200}
I tried following code but it did not work.
$ads1 = json_decode($ads);
echo $ads1->ReferenceNo;
Kindly help me how to display result in PHP. Thanks in advance.