stripcslashes references a series with addcslashes ()
Definition and usage
The stripcslashes () function removes the backslashes added by the addcslashes () function.
grammar
stripcslashes (string)
Parameter Description
string required
Tips and instructions
Tip: This feature can be used to clean up and recycle a string from the database.
E.g
<? php
echo stripcslashes ("Hello, my name is Kai Jim.");
?>
Output.
Hello, my name is Kai Jim.
Ok, let's take a look at the definition and usage of the stripcslashes function and an example tutorial.
Definition and usage
The stripslashes () function removes the added backslash and addslashes () functions.
grammar
stripslashes (string)
Parameter Description
string must have
Tips and instructions
Tip: This function can be used to clean up data retrieval from the database or from HTML forms.
E.g
<? php
echo stripslashes ("Who's Kai Jim?");
?>
Output.
Who's Kai Jim?
www.111cn.net/phper/php.html