PHP 手冊
前一頁 |  | 下一頁

# pg_escape_string

(PHP 4 >= 4.2.0, PHP 5)

pg_escape_string -- Escape string for text/char type

## Description

string pg_escape_string ( string data )

pg_escape_string() escapes string for text/char datatype. It returns escaped string for PostgreSQL. Use of this function is recommended instead of addslashes().

> 注: This function requires PostgreSQL 7.2 or later.

See also pg_escape_bytea()

前一頁 | 內容 | 下一頁
pg_escape_bytea | 上一層 | pg_fetch_all