[EMAIL PROTECTED] (Chris) writes:

> > Everting works fine, except when I try to insert a text that includes a
> > simple quote. 

> http://www.php.net/mysql_real_escape_string

     I'll see you that and raise you PEAR's database interfaces:

http://pear.php.net/package/DB - especially DB_common::quoteSmart() 

or the more modern

http://pear.php.net/package/MDB2

     I'm still partial to DB but suppose I will eventually have to move
to MDB2.

-- Tom Swiss / tms(at)infamous.net / www.infamous.net / www.unreasonable.org
    "What's so funny about peace, love, and understanding?" - Nick Lowe
                  "Power to the Peaceful" - Michael Franti

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

Reply via email to