I count 31 columns and 30 values, again unless I'm screwing up somehow. I pasted it into phpmyadmin, changed the vars to constants, and I got a "value count doesn't match" or something like that (the first query, I mean).
But I don't know why you wouldn't see any error messages. Here's a stupid question - are you sure that's even getting called?
Yeah its getting called
i just did a re-count and got 31 columns and 31 values.