Php stripslashes
From w3cyberlearnings
Contents |
PHP function stripslashes
This function removes backslashes in a string.
Syntax stripslashes
- string: string input.
stripslashes(string);
Return
Return the string without backslashes.
Example 1
<?php $str="She\'s the most beautiful girl."; echo stripslashes($str); ?>
Output
She's the most beautiful girl.