How to remove the (\\)backslash on a string? when using echo json_encode() ?
(\\)
echo json_encode()
For example:
If you using PHP 5.2, json_encode just expect only 1 parameter when call it. This is an alternative to unescape slash of json values:
stripslashes(json_encode($array))
Don't use it if your data is complicated.