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 =
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
$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