Answers for "how to read a json in php"

PHP
6

read json file data using php

$filedata = file_get_contents('filename.json');
$details = json_decode($filedata);
print_r($details);
Posted by: Guest on July-19-2021
2

how to get data from json array in php

$data = json_decode($json);
Posted by: Guest on August-15-2020

Browse Popular Code Answers by Language