PHP stripslashes() 函数
PHP 教程
· 2019-01-30 08:27:50
实例
删除反斜杠:
<?php
echo stripslashes("Who's Peter Griffin?");
?>
echo stripslashes("Who's Peter Griffin?");
?>
定义和用法
stripslashes() 函数删除由 addslashes() 函数添加的反斜杠。
提示:该函数可用于清理从数据库中或者从 HTML 表单中取回的数据。
语法
stripslashes(string)
参数 | 描述 |
---|---|
string | 必需。规定要检查的字符串。 |
技术细节
返回值: | 返回剥离了反斜杠的字符串。 |
---|---|
PHP 版本: | 4+ |
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Data-intensive Text Processing With Mapreduce
Jimmy Lin、Chris Dyer / Morgan and Claypool Publishers / 2010-4-30 / USD 40.00
Our world is being revolutionized by data-driven methods: access to large amounts of data has generated new insights and opened exciting new opportunities in commerce, science, and computing applicati......一起来看看 《Data-intensive Text Processing With Mapreduce》 这本书的介绍吧!