I have a piece of data that is large and will probably contain quotes and double quotes.
I\'m using mysql_real_escape_string() to store it safely.
mysql_real_escape_string()
W
Do you use magic quotes?
Note: If magic_quotes_gpc is enabled, first apply stripslashes() to the data. Using this function [mysql_real_escape_string] on data which has already been escaped will escape the data twice.