Re: inserting ´ in a db

From: Date: Thu, 04 Oct 2007 04:57:54 +0000
Subject: Re: inserting ´ in a db
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-262734@lists.php.net to get a copy of this message
dmagick@gmail.com (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

« previous php.general (#262734) next »