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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -