I am doing some select with PDO object, but after fetch result, I got string with escaped ' to \', how can I disable that?
I am doing some select with PDO object, but after fetch result, I got
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems like you might be having some trouble with Magic Quotes. You can disable them by following the instructions here. It’s highly recommended that you disable them instead of sidestepping them by using a function to just strip the slashes out.