fixing getlog by dates
This commit is contained in:
@ -85,6 +85,8 @@ class LogController
|
||||
$d=array();
|
||||
while($rw=$rs->fetch()){
|
||||
echo "start time : ".date("Y-m-d H:i:s")."\n";
|
||||
echo "Finger ID : ".$rw['fingerid']."\n";
|
||||
echo "Process Log : ".date("Y-m-d",strtotime($rw['dates']))." ".$rw['times']."\n";
|
||||
$d['timestamp']=date("Y-m-d H:i:s", strtotime($rw['dates'].' '.$rw['times']));
|
||||
$d['id']=$rw['fingerid'];
|
||||
$res=$this->fn_setattendance($d, $rw['deviceip']);
|
||||
|
||||
Reference in New Issue
Block a user