Answers for "how to read data from a json file in php"

PHP
3

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

Code answers related to "how to read data from a json file in php"

Browse Popular Code Answers by Language