stripslashes
Inversely escape an escaped string
stripslashes()
function deletes the backslashes added by addslashes()
function.
Tip: This function can be used to clean up data retrieved from the database or from HTML forms.
Remove the backslash:
<?php echo stripslashes ( "Who\'s Bill Gates?" ) ; ?>
Try it yourself
stripslashes ( string )
parameter | describe |
---|---|
string | Required. Specifies the string to be checked. |