(PHP 4 >= 4.2.0, PHP 5)
pg_escape_string() 轉義 text/char 資料類型的字串,返回轉義後的字串。建議用此函數替代 addslashes()。
注: 本函數需要 PostgreSQL 7.2 或以上版本。
參見 pg_escape_bytea()。