maxdb_real_escape_stringmaxdb->real_escape_string(PECL maxdb:1.0-7.6.00.38) maxdb->real_escape_string — Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection ОписаниеProcedural style:
string maxdb_real_escape_string
( resource $link
, string $escapestr
)
Object oriented style (method): maxdb
string
real_escape_sring
( string $escapestr
)
This function is used to create a legal SQL string that you can use in a SQL statement. The string escapestr is encoded to an escaped SQL string, taking into account the current character set of the connection. Characters encoded are ', ". Возвращаемые значенияReturns an escaped string. ПримерыПример #1 Object oriented style
<?phpПример #2 Procedural style
<?phpРезультатом выполнения данного примера будет что-то подобное:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |