I was getting some data from one table and storing it into another and I found the addslashes() feature to work.

_thanks