php - How to escape a slash while reading an excel -
im reading excel line line , doing php operations in backend ,but when reached cell containing "\" throwed error
it has match cell value , backend value
cell value "test-123\/123a"
backend value "test123/123a"
i tried reading cell value str_replace("\/","/",$cellvalue);
but error still persists
you can try php function stripslashes http://php.net/manual/en/function.stripslashes.php
Comments
Post a Comment