PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<pg_escape_byteapg_execute>
Last updated: Mon, 16 Jul 2012

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()

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

参见 pg_escape_bytea()




<pg_escape_byteapg_execute>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST