Re: characters problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux