I'm printing the data returned as json on my page, but what I want to do is I don't want to print all the data coming from json to the screen, I want to write certain data.
Sample:
[
{
"Id": "15195456",
"PHONE": "1XXXXXXXXXX",
"NAME": "JESSICA",
"SURNAME": "CLAY",
"MOTHER": "AHMET",
"FATHER": "AYSE",
},
Code:
echo json_encode(["success" => "true", "data" => json_decode($result, true)]);