Commit 741facf4 authored by S.Holzhauer's avatar S.Holzhauer

debugging code

parent 6387c88f
......@@ -59,12 +59,15 @@ else if ($ID == "IRPS001"){
AND EndTime < '$time'
AND DayDate = '$date'";
$result = $conn->query($sql);
error_log($sql);
error_log($result);
//loop trough every activity
while ($result && ($row = $result->fetch_assoc())){
$ActivityID = $row['ActivityID'];
$Movement = $row['Movement'];
$OuderID = $row['OuderID'];
$Detected = $row['Detected'];
error_log($ActivityID);
/*
* If movement = 0 and detected = 1 status is set to 0 (Waarschuwing)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment