DB_common::quote()

DB_common::quote() -- DEPRECATED: Quotes a string

Synopsis

string quote (string $string)

Opis

Quotes a string database-dependent, so it can be safely used in a query

This method has been deprecated. Use quoteSmart() or escapeSimple() instead.

Parametr

string $string

the input string to quote

Zwracana wartość

string - the quoted string.

Uwagi

Ta funkcja nie może być wywołana statycznie.

Ostrzeżenie

Ta funkcja jest niezalecana. Oznacza to, że przyszłe wersje tego pakietu mogą jej już nie wspierać.

Deprecated in release 1.6.0.

Zobacz

quoteSmart(), escapeSimple(), quoteIdentifier()