Folks
strange, strange. This error ‘Column count doesn’t match value count at row 1 problem’ killing me. already wasted hours in this.
what could be the problem?
$query = "INSERT into dph_ot_forecast VALUES (
'',
'$empno',
'$_shift'
'$dep_id',
'$sec_id',
'$pos_id',
'$start',
'$end',
'$tot_hrs',
'$justification',
'$date'
)";
if ($result=mysql_query($query) or die (mysql_error()));
Table structure