REPLY 1
some client have said that the problem comes from pasting the text from microsoft word?
how do i check if it is a special character and how do i solve this?
REPLY 2
don't think it is a problem with the add slashes because double quotes work fine. but not totally convinced.
so i say addslashes($_POST['text']) before adding it to the db and use removeslashes when viewing it in a browser, should i always do this:
foreach ($_POST as $key => $val) {
$POST[$val] = addslashes($_POST[$val]);
}
regardless on whether magic quotes are on or off?