Home > php教程 > php手册 > body text

PHP stripcslashes与stripslashes()教程

PHP中文网
Release: 2016-06-13 11:16:45
Original
2851 people have browsed it

  stripcslashes引用了一系列与addcslashes ( )

定义和用法<br>该stripcslashes ( )函数删除反斜线增加的addcslashes ( )函数。<br><br>语法

stripcslashes(string)
Copy after login
<br>
Copy after login
Copy after login
		参数
Copy after login
Copy after login
说明
string 必选项
<br>
Copy after login
Copy after login

提示和说明 提示:此功能可用于清理回收一个字符串从数据库。 例如

<?
phpecho stripcslashes("Hello, my name is Kai Jim.");
?>
Copy after login
输出.
Copy after login
Copy after login
Hello, my name is Kai Jim.
Copy after login
好了下面我们来看看<strong>stripcslashes</strong>函数定义与用法以及实例教程吧.
Copy after login

定义和用法 该stripslashes ( )函数功能移除反斜线增加的和addslashes ( )函数。 语法

stripslashes(string)
Copy after login
		参数
Copy after login
Copy after login
说明
string 必须有

<br>提示和说明 提示:此功能可用于清理数据的检索从数据库或从HTML表单。 例如

<?php
echo stripslashes("Who&#39;s Kai Jim?");
?>
Copy after login
输出.
Copy after login
Copy after login
Who's Kai Jim?
Copy after login

<br>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template