Answers for "php json pretty print"

PHP
4

php pretty print

print("<pre>".print_r($array_data,true)."</pre>");
Posted by: Guest on June-04-2020
0

php json pretty print

$json_string = json_encode($data, JSON_PRETTY_PRINT);
Posted by: Guest on February-03-2021
7

php JSON_PRETTY_PRINT and ?

header('Content-Type: application/json');


JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES
Posted by: Guest on July-27-2021

Browse Popular Code Answers by Language