Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.

addslash

Compatible with: 9.xx.xx8.xx.xx

Add correct number of slashes depending on quotes_gpc.
It was created for security when inserting pure HTML or PHP into the database preventing mysql injections.
quotes_gpc has been deprecated as of PHP 5.3 and removed as of PHP 6 as this is a highly insecure function that was why we created the addslash functions to make sure content was properly secured before inserted into the database.

addslash

Quote

addslash ( string $text )


Parameters
text
The text which should be added slashes to

Return Values
addslash() will return the string $text with correct number of slashes added