Commit 2ef99b4f authored by S.Holzhauer's avatar S.Holzhauer

more fixing

parent 81207539
......@@ -16,7 +16,7 @@ if ($ID == "IRPS001" ){
FROM Camera;";
$result = $conn->query($sql);
//loop every elder.
while ($row = $result->fetch_assoc()){
while ($result && ($row = $result->fetch_assoc())){
$OuderID = $row["AlleenstaandeOuder_OuderID"];
/*select everything from this elder in the activity table
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