echo json_encode json_pretty
<?php
...
$json_string = json_encode($data, JSON_PRETTY_PRINT);
Also in PHP:
- convert html to pdf php
- ErrorException Allowed memory size of 536870912 bytes exhausted (tried to allocate 400560128 bytes)
- Increase execution time of server
- exception handling in php with example
- catching errors in php
- find array duplicates php
- check if string contains word php
- $s->$h php code
- echo in json format php
- check if page is front page in wordpress
- declare empty array in php
- ".date("g:i A")"
- array reverse php
- fetch visitor ip address php
- ALL CODE FOR DATABASE PHP
- check aall routes laravel
- check array key exists php js
- create 64 digit random string php
- current date time in php
- Artisan namespace
- calcul age php datetime
- How to Redirect Website to a Mobile Version when Accessed on a Mobile Device
- date('I')
- Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter ta