Addslashes and Stripslashes
Thursday August 21, 2008
When JavaScript doesn't have functions to do something built in we can add our own
PHP has these useful functions that will escape those characters that can cause confusion when they are contained in a string of text. JavaScript does not have equivalent functions built into the language but we can easily add them for ourselves.
Addslashes and Stripslashes


Comments
Thank you. This helped us to solve our problem now and it will be very useful for our scripts in future