submission form is posting to database

was getting a weird syntax error for a while. Turns out that trigger is a reserved word. using backticks fixed it.
http://stackoverflow.com/questions/6090446/error-in-mysql-syntax-insert-into-query
http://dev.mysql.com/doc/refman/5.1/en/reserved-words.html