before I do an insert in mysql I replace all the apostrofs like this. but suddenly it doesn't work anymore. perhaps I have a new php version since I transfered from one server to another but can anyone tell me why this doesn't work ???
$llfmessage = str_replace (chr(39), "\'", $llfmessage);
$llfmessage = str_replace (chr(39), "\'", $llfmessage);