* Thus wrote Dan Anderson ([EMAIL PROTECTED]):
> > Using ' is prefered IIRC, and also escaping all the data before sending
> > it to the database:
> 
> Hmmm.  Perhaps Emacs isn't converting from Unicode to ASCII properly? 
> ::shrugs:: I just know sometimes my queries don't work if I use ' .
 
I just tested it, mysql_escape_string() escapes both ' and " so
either quotes used to enclose values are fine.


Curt
-- 
List Stats: http://zirzow.dyndns.org/html/mlists/php_general/

"I used to think I was indecisive, but now I'm not so sure."

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

Reply via email to