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
High Performance Python
Andrew Lewis / O'Reilly Media, Inc. / 2010-09-15 / USD 34.99
Chapter 1. Introduction Section 1.1. The High Performance Buzz-word Chapter 2. The Theory of Computation Section 2.1. Introduction Section 2.2. Problems Section 2.3. Models of Computati......一起来看看 《High Performance Python》 这本书的介绍吧!
HEX CMYK 转换工具
HEX CMYK 互转工具
HSV CMYK 转换工具
HSV CMYK互换工具