Tag Archives: addslashes

addslashes

Syntax: string addslashes ( string $str ) Description: Returns a string with backslashes before characters that need to be escaped. These characters are single quote (‘), double quote (“), backslash (\) and NUL Note: Using addcslashes() function we will configure the escaped string. Example 1 <?php $str=”How’re you”; echo ‘Input String :’.$str; echo ‘<br/>’; echo ‘Output String (addslashes($str)) […]