Hello. I am having one serialized aray with escape character '. I want to insert this value in database with escaping '. How can I escape it using PHP? I have tried with addslashes but it didn't worked. Please help me. Thanks in advance.