Re: mysql_real_escape_string wants a string or a "resource"?
| From: | Govinda | Date: | Sat, 11 Jul 2009 21:59:45 +0000 |
| Subject: | Re: mysql_real_escape_string wants a string or a "resource"? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295248@lists.php.net to get a copy of this message | ||
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).In my case, I had somehow got the idea that the docs were the same for both functions. I.e. I knew I was looking at mysqli_real_escape_string but thought the syntax was the same as for mysql_real_escape_string