Re: characters problem

From: Date: Fri, 17 Dec 2004 09:20:01 +0000
Subject: Re: characters problem
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-37734@lists.php.net to get a copy of this message
It doesn't work :( I also read on the php.net for addslashes and stripslashes but still nothin.... :( Any other ideas guyz? Thx Panos "Nadim Attari" <nadim@alienworkers.com> wrote in message news:20041217075430.661.qmail@pb1.pair.com... >> $myquery="INSERT INTO $table >> (comments) VALUES ('$mycomments')"; > > $mycomments = addslashes($mycomments); > $myquery = "INSERT INTO $table (comments) VALUES ('$mycomments')"; > > See: > > http://www.php.net/addslashes > > Hope it solves the problem. > > nadim attari

« previous php.db (#37734) next »