Re: I`m not able to store "`s in mySQL!!!!

From: Date: Tue, 21 Nov 2000 12:43:17 +0000
Subject: Re: I`m not able to store "`s in mySQL!!!!
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4603@lists.php.net to get a copy of this message
Y dont' u try this:- Function RemoveBackSlash($line){ $line = ereg_replace("\\\'","'",$line); $line = ereg_replace("\\\"","&quot;",$line); $line = ereg_replace("\\\\","",$line); return $line; } $message = RemoveBackSlash($message); Regards Durrani, Mohamed Ameenuddin Comat Technologies, #4/13-1, Crescent Road, High Grounds, Bangalore -560001 Ph: +91-80-2383813-17 Ext: 24 "Trond Erling Hundal" <webmaster@port-industry.com> wrote in message news:MIBBLBJEKKHMEDHENEKCEEMGCBAA.webmaster@port-industry.com... > Hi > I`m trying to store some info that the user puts in a textarea field, but > when I try to insert it into the table, MySQL only stores everything up > until it hits on a "... > I tried to use addslashes($info) before i stored it in the db, but that > didn`t help either... > Any ideas??? What am I not seeing here?? > > .Trond. > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#4603) next »