I had this working earlier but had to tweak the code for some function that will be preformed later on but now I can't get the data to upload to the SQL server. I get error:
PDOStatement::errorInfo(): Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'all, fillmore, johnson, otoe, richardson, seward, butler, gage, lancaster, pawne' at line 1 )
My PHP is: http://pastebin.com/QA5KFGQ5
My HTML is: http://pastebin.com/3nXsdfWU
I am not sure if it is just because when you do not check a check box it sends over nothing so certain variables have nothing to grab and it is therefore messing up the statement, I am not sure if I manually have to check if the Input for the Checkboxes is a certain value and if not set it to nothing or something along those lines, any help.