On Sat, 21 Feb 2009 19:19:44 +1300, t...@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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to