YouTip LogoYouTip

Func String Stripslashes

## PHP stripslashes() function ## Definition and Usage The stripslashes() function removes backslashes added by the addslashes() function. **Tip:** This function can be used to clean up data that has been retrieved from a database or from an HTML form. | Parameter | Description | |---|---| | string | Required. Specifies the string to check | ## Technical Details | Return Value: | Returns the escaped string | |---|---| | PHP Version: | 4+ | ## More Examples ### Example 1 ```php ``` The output of the code above will be: ``` Who's John Adams? ``` ### Example 2 ```php ``` The output of the code above will be: ``` Who's John Adams? ```
← Func String StriposFunc String Stripcslashes β†’