Question : php display json in browser
Answered by : borma425
header('Content-Type: application/json');
Source : https://stackoverflow.com/questions/6054033/pretty-printing-json-with-php | Last Update : Sun, 26 Sep 21
Question : php display json in browser
Answered by : borma425
<?php
...
$json_string = json_encode($data, JSON_PRETTY_PRINT);
Source : https://stackoverflow.com/questions/6054033/pretty-printing-json-with-php | Last Update : Sun, 26 Sep 21