Re: mysql_real_escape_string("asdasddas") ??? wtf
| From: | Ross McKay | Date: | Sat, 21 Feb 2009 06:37:18 +0000 |
| Subject: | Re: mysql_real_escape_string("asdasddas") ??? wtf | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288641@lists.php.net to get a copy of this message | ||
On Sat, 21 Feb 2009 19:19:44 +1300, tim@ihostnz.com wrote:
>Can anyone here tell me why mysql_real_escape_string("asdasddas") returns an
>empty string?
Have you opened a connection to a MySQL database? It won't work without
an open connection.
--
Ross McKay, Toronto, NSW Australia
"Let the laddie play wi the knife - he'll learn"
- The Wee Book of Calvin