seahorse123
Programmer
In the form textarea, I entered:
"test"
'test'
\test\
/test/
the script uses funtion "htmlentities(string,ENT_QUOTES)" to convert single/double quote and save it to Microsoft SQL server with the format:
\"test\"
\'test\'
\\test\\
/test/
When I tried to retrieve it back with function "html_entity_decode(string,ENT_QUOTES)" and display again in form textarea, it shows:
\"test\"
\'test\'
\\test\\/test/
how to remove the backslash "\" and display it as the same as input string?
thanks.
"test"
'test'
\test\
/test/
the script uses funtion "htmlentities(string,ENT_QUOTES)" to convert single/double quote and save it to Microsoft SQL server with the format:
\"test\"
\'test\'
\\test\\
/test/
When I tried to retrieve it back with function "html_entity_decode(string,ENT_QUOTES)" and display again in form textarea, it shows:
\"test\"
\'test\'
\\test\\/test/
how to remove the backslash "\" and display it as the same as input string?
thanks.