Sometimes for some reason is happens that PHP or Javascript or some naughty insert a lot of backslash. Ordinary function does not notice that. Therefore, it is necessary that the bit "inflate":<?phpfunction removeslashes($string){ $string=implode("",explode("\\",$string)); return stripslashes(trim($string));}/* Example */$text="My dog don\\\\\\\\\\\\\\\\'t like the postman!";echo removeslashes($text);?>RESULT: My dog don't like the postman!This flick has served me wery well, because I had this problem before.