When I an insert query contains a quote (e.g. Kellog\'s), it fails to insert a record.
Kellog\'s
ERROR MSG:
You have an error in your SQL s
You can also use the addslashes() function which automatically puts \ before ' to avoid error
\
'