AKSailor wrote:I did not list column 1 since I thought that column 1 was my ID column and was already populated. Am I correct?
Yes and no. Any columns you omit from an INSERT query will be filled in with their default values. For AUTO_INCREMENT columns, this causes a new id to be generated and used for that row. This is the same behavior as when you insert a NULL value for that column, but like I said.. it's recommended to just leave the id column out of the query altogether.
Also note that I was using "col1", etc. as placeholders; you actually have to fill in the column names from your table.
I recommended you use the column list because I think it's a better coding practice. If I gave you a query that said:
INSERT INTO myTable VALUES (3, 4, "Hello World", NULL)
can you even begin to tell me which data is going where? To do so, you'd have to first look up the column list of the table in question and hope that it hasn't been altered/re-ordered since the above query was written.
If it has been, then you're out of luck. If I had listed the columns in the query, however, you would not only have been able to easily determine which column the data is being inserted into, but the query would continue to work if new columns were added in the beginning/middle of the table (or if the columns had been re-arranged).
Long story short: update the query above with your actual column names and it should work.
Also, as for the data... what column type are columns 3 and 4 there? Since it looks like you're storing a date, why not use the DATE column type?