PHP stripslashes() function
Definition and Usage
The stripslashes() function removes the backslashes defined by addslashes() Backslashes added by the function.
Tip:This function can be used to clean up data retrieved from a database or from an HTML form.
Syntax
stripslashes(string)
Parameter | Description |
---|---|
string | Required. Specifies the string to be checked. |
Technical Details
Return Value: | Return the string after stripping backslashes. |
PHP Version: | 4+ |