1
<?xml version='1.0' encoding='UTF-8'?>
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3
"docbook/dtd/xml/4.2/docbookx.dtd" [
4
<!ENTITY % global_ents SYSTEM "../global.ent">
7
<refentry id="functions.mysql_escape_string" display-name="0">
9
<refentrytitle>mysql_escape_string</refentrytitle>
12
<refname>mysql_escape_string</refname>
13
<refpurpose>escapes a string using the default character set</refpurpose>
15
<refsect1 role="description">
17
<type>unsigned long</type>
18
<methodname>mysql_escape_string</methodname>
19
<methodparam><type>char *</type><parameter>to</parameter></methodparam>
20
<methodparam><type>const char *</type><parameter>from</parameter></methodparam>
21
<methodparam><type>unsigned</type><parameter>long</parameter></methodparam>
26
<para>&deprecated.function;</para>
27
<para>Please use <function>mysql_real_escape_string()</function> instead.</para>
30
<refsect1 role="seealso">
31
<title>See also</title>
32
<para><function>mysql_real_escape_string()</function></para>