Click to See Complete Forum and Search --> : does mysql_real_escape_string work for double quotes?


DrMarie
06-03-2009, 07:19 PM
I put all of my data into my database using mysql_real_escape_string, but I just noticed that if someone enters double quotes the data gets truncated.

What can I do?

DrMarie
06-03-2009, 07:24 PM
Oh wait...I think I know what happened. In part of my code I take the data out, modify it and put it back in the database. But I didn't put the mysql_real_escape_string clause on that!!!

OK...thanks for your help. LOL!