Re: mysql_real_escape_string wants a string or a "resource"?
| From: | Daniel Brown | Date: | Sat, 11 Jul 2009 21:51:53 +0000 |
| Subject: | Re: mysql_real_escape_string wants a string or a "resource"? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295244@lists.php.net to get a copy of this message | ||
On Sat, Jul 11, 2009 at 17:46, Stuart<stuttle@gmail.com> wrote:
>
> You're looking at the documentation for mysqli_real_escape_string but
> using mysql_real_escape_string - notice the i in mysqli in the first
> function name.
For the longest time, we were having a problem in the docs where
some mirrors were erroneously redirecting references to
mysqli_real_escape_string() to mysql_real_escape_string(). Should all
be fixed now (and certainly is on the US2 mirror).
--
</Daniel P. Brown>
daniel.brown@parasane.net || danbrown@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
Check out our great hosting and dedicated server deals at
http://twitter.com/pilotpig