PostgreSQL 函数
php 手册 | 脚本学堂 | 脚本编程 | 网站编程 | 系统管理 | 服务器配置 | 数据库管理 | Php教程 | python教程 | 正则表达式 | 批处理脚本 | Centos教程 | Linux基础教程

pg_escape_string

(PHP 4 >= 4.2.0, PHP 5)

pg_escape_string 转义 text/char 类型的字符串

说明

string pg_escape_string ( string $data )

pg_escape_string() 转义 text/char 数据类型的字符串,返回转义后的字符串。建议用此函数替代 addslashes()

Note: 本函数需要 PostgreSQL 7.2 或以上版本。

参见 pg_escape_bytea()


PostgreSQL 函数
php 手册 | 脚本学堂 | 脚本编程 | 网站编程 | 系统管理 | 服务器配置 | 数据库管理 | Php教程 | python教程 | 正则表达式 | 批处理脚本 | Centos教程 | Linux基础教程