Well, what i am doing is parsing an XML files, and then inserting the contents into mysql. The program is some fields contain weird charatchers like: ",',*. etc which gum up the works when you try to insert it.
What addslashes does is that it will escape all characters that need to be escaped.