Jump to content


This topic is now archived and is closed to further replies.


MS Word to MySQL

Recommended Posts

I'm trying to take data that was typed in MS Word and input it into MySQL. Right now I am using this to convert special chars and add slashes:


function text2mysql($text) {
    $text = htmlentities($text);
    $text = addslashes($text);
    return $text;


However, the text that should be inputted is still cut off by other special chars. I can't seem to find a way to input text with these other special chars.


Anyone else have this problem and fixed it? Thanks.



Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.