How to remove the (\\)backslash on a string? when using echo json_encode() ?
(\\)
echo json_encode()
For example:
I use the following to remove the slashes
echo json_decode($mystring, JSON_UNESCAPED_SLASHES);