Someone else already suggested that you use a different delimiter. That isn't the problem though it "corrects" the issue for the moment. The real problem is that you are aren't using
's placeholders. Until you switch you are (most likely) going to be vunerable to a variety of SQL insertion attacks. This is a security issue and you should address this before anything else.