Forum Moderators: coopster
or die("<p>" . mysql_errno() [ca.php.net]);
at the end of the query? Another thing to try is to paste the actual into phpmyadmin or, even better, a terminal and see what the true error is.
That is a handled error so you will need to get the actual error from mysql. You could also try echo'ing the query to see if there is something wrong with it.