stripcslashes refers to a series of definitions and usage associated with addcslashes()
The stripcslashes() function removes the backslashes added by the addcslashes() function.
Syntax
stripcslashes(string)
|
Description | ||||
---|---|---|---|---|---|
string | Required option |
Tips and instructions Tip: This function can be used to clean and recycle a string from the database. For example
<?php echo stripcslashes("Hello, my name is Kai Jim."); ?>
输出.
Hello, my name is Kai Jim.
好了下面我们来看看<strong>stripcslashes</strong>函数定义与用法以及实例教程吧.
Definition and Usage The stripslashes() function function removes the backslash added and addslashes() function. Syntax
stripslashes(string)
|
Description | ||||
---|---|---|---|---|---|
string | Must have prompts and instructions |
Tip: This function can be used to clean the data retrieved from the database or from the HTML form. For example,
<?php echo stripslashes("Who's Kai Jim?"); ?>
输出.
Who's Kai Jim?
TechArticlestripcslashes refers to a series with addcslashes() definition and usage. The stripcslashes() function removes backslashes and adds the addcslashes() function. Syntax stripcslashes(string)...