Hello sir(s)
I m having problem with " and ' in my contect. say I hav submitted below sentence to save in mysql

my father's boss told me " you can join our company".
I used mysql_real_escape_string() . when I retriev from sql data. It shows
my father'\s boss told me \" you can join our company\".
So how can I ommit extra \ from that. Please help me.

something else is going on besides just mysql_real_escape_string, I think possibly you are double escaping but that is just a guess. You will need to post your code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.