Jump to content

marruku

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Posts posted by marruku

  1. 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.

     

    -Marc

×
×
  • Create New...

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.