marruku Posted November 28, 2005 Share Posted November 28, 2005 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 Quote Link to comment https://forums.phpfreaks.com/topic/2950-ms-word-to-mysql/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.