Forum Moderators: coopster
Is there a field type or something I can do to allow all of these characters without erroring out? I have tried BLOB and TEXT and VARCHAR. Text string may be very large.
Thanks in advance,
RC
There are a few ways you can sort this problem. Try using addslashes() [uk.php.net] before your database insertion, or mysql_real_escape_string() [uk.php.net].
Alternatively you can convert apostrophes and other problematic characters to character entities before insertion.
dc