Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.mysql-escape-string.html
Дата изменения: Sun Feb 3 22:47:26 2002
Дата индексирования: Mon Oct 1 22:16:48 2012
Кодировка:
mysql_escape_string

mysql_escape_string

(PHP 4 >= 4.0.3)

mysql_escape_string --  Escapes a string for use in a mysql_query.

Description

string mysql_escape_string ( string unescaped_string)

This function will escape the unescaped_string, so that it is safe to place it in a mysql_query().

Note: mysql_escape_string() does not escape % and _.