echo json in php formated
<?php
...
$json_string = json_encode($data, JSON_PRETTY_PRINT);
Also in PHP:
- doctrine order by
- difference betwen include and indlude once
- count string length php
- add 15 days to date in loop php
- Call to undefined function str_limit() laaravel8
- assign $variable of key value pair array to multiple variables php
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 157 bytes) in C:\wamp64\scripts\refresh.php on line 2263
- array filter php get first object
- find string exist in string php
- dom javascript frontend
- file upload permission in php
- base 64 decode p[hp
- carbon random future date
- decode ioncube php files
- convert any uppercase to capitalize in php
- browser console print php variable
- data validation of $_POST in php
- base64 php
- date and time in php
- date format php from string
- carbon laravel use
- Tto upper php
- create random string in php
- composer set php version