Answers for "how to remove third brackets from encoded json array in php"

PHP
0

how to remove third brackets from encoded json array in php

<?php echo str_replace(array('[', ']'), '', htmlspecialchars(json_encode($result, JSON_NUMERIC_CHECK), ENT_NOQUOTES)); ?>
Posted by: Guest on February-26-2022

Code answers related to "how to remove third brackets from encoded json array in php"

Browse Popular Code Answers by Language