Jump to content


MS Word to MySQL

  • Please log in to reply
No replies to this topic

#1 marruku

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 November 2005 - 03:40 PM

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.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users