stripcslashes
Anti-reference a string escaped using addcslashes()
stripcslashes()
function deletes the backslashes added by addcslashes()
function.
Tip: This function can be used to clean up data retrieved from the database or from HTML forms.
Remove the backslash in front of "World!":
<?php echo stripslashes ( "Hello \World!" ) ; ?>
Try it yourself
strippcslashes ( string )
parameter | describe |
---|---|
string | Required. Specifies the string to be checked. |