Forum und email

pg_escape_string

(PHP 4 >= 4.2.0, PHP 5)

pg_escape_string — Aggiunge le sequenze di escape nei tipi text/char

Descrizione

string pg_escape_string ( string $dati )

pg_escape_string() aggiunge le sequenze di escape alle stringhe di tipo text/char. Restituisce la stringa modificata con le sequenze per PostgreSQL. L'uso di questa funzione è raccomandato al posto di addslashes().

Nota: Questa funzione richiede PostgreSQL 7.2 o successivi.

Vedere anche pg_escape_bytea()