Hello,
my database contains data with backslash:
img316958_v01_b.jpg;img316958_v02_b.jpg;
why backslash ignored to views?
img316958_v01_b.jpg;img316958_v02_b.jpg;
2 Answers
The backslash () is a special character in both PHP and JSON. Both languages use it to escape special characters in strings and in order to represent a backslash correctly in strings you have to prepend another backslash to it, both in PHP and JSON.
http://stackoverflow.com/a/32057601/385377http://stackoverflow.com/a/32057601/385377
Replace it with / or use \
Your Answer