> $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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
