I've got this error which keeps popping up, but I can't seem to figure out why.
The error reads
' A non well formed numeric value encountered in filename on line <b>198</b>'.
the lines which contain the error are all the same.
I have output the sql statement which inputs these values, so the output of these lines is
"VALUES ('40', '128', '09:00:00', '16:00:00', '2008-03-11', '2008-03-11')".
So from the output, I can see that the values are fine, so I don't know why I am getting these errors.
The error reads
' A non well formed numeric value encountered in filename on line <b>198</b>'.
the lines which contain the error are all the same.
Code:
list($sHour, $sMin, $sSec)=split(':', $startTime2);
$startTime2 = date('H:i:s', mktime($sHour, $sMin, 0, 0,0,0));
list($eHour, $eMin, $eSec)=split(':', $endTime2);
$endTime2 = date('H:i:s', mktime($eHour, $eMin, 0, 0,0,0));
$startTime2 = date('Y-m-d,H:i:s', mktime($sHour,$sMin,0, $month, $day, $year));
$endTime2 = date('Y-m-d,H:i:s', mktime($eHour,$eMin,0, $month, $day, $year));
"VALUES ('40', '128', '09:00:00', '16:00:00', '2008-03-11', '2008-03-11')".
So from the output, I can see that the values are fine, so I don't know why I am getting these errors.
Comment