HI All!!
I have a form. When I try to submit the form, I get this error: "Could not execute query: . Column count doesn't match value count at row 1". Could someone possibly tell me what this error means?
Here is some of my code (if it helps):
if ($action=="submit" {
$SQL = "INSERT INTO tblresults VALUES('$fldClass', '$fldq1', '$fldq2', '$fldq3', '$fldq4',
'$fldq5', '$fldComment')";
$result = mysql_db_query($db, "$SQL", $cid) or die ("Could not execute query: $query. " . mysql_error());
Does anyone have any suggestions or advice? If you need more info, just let me know.
THANKS!!!
I have a form. When I try to submit the form, I get this error: "Could not execute query: . Column count doesn't match value count at row 1". Could someone possibly tell me what this error means?
Here is some of my code (if it helps):
if ($action=="submit" {
$SQL = "INSERT INTO tblresults VALUES('$fldClass', '$fldq1', '$fldq2', '$fldq3', '$fldq4',
'$fldq5', '$fldComment')";
$result = mysql_db_query($db, "$SQL", $cid) or die ("Could not execute query: $query. " . mysql_error());
Does anyone have any suggestions or advice? If you need more info, just let me know.
THANKS!!!