Database query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add, subtract, description, date ) VALUES ( '6482', '3', '0', 'hdfh' at line 2
This is the error I get.
Ive used insert queries plenty of times before with no trouble, which is why I'm not sure whats going wrong. If check my connection, echo'd back my $_POST and $_GET arrays and really don't know how else to approach it.
Try quoting all of your column and table names with backticks (`). 'add' is a MySQL reserved word, this means that you can use it but it must be quoted with backticks. It's good practice to backtick everything so that your applications are future-proof should MySQL choose to add reserved words at a later date.