[PHP-DB] Re: characters problem

2004-12-17 Thread Panos Yahoo
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 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] $myquery=INSERT INTO `$table` (`comments`) VALUES ('$mycomments'); $mycomments =

RE: [PHP-DB] Re: characters problem

2004-12-17 Thread Bastien Koert
try echoing out the sql to see what it looks like, you may also have magic_quotes turned on...turn it off bastien From: Panos Yahoo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP-DB] Re: characters problem Date: Fri, 17 Dec 2004 11:20:01 +0200 It doesn't work :( I also read on the php.net

[PHP-DB] Re: characters problem

2004-12-16 Thread Nadim Attari
$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 -- PHP Database Mailing List