I am getting a strange MYSQL error when trying to write a row to a database - every solution I have found concerning the topic hasn\'t been helpful. The query being passed is th