<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM taskrecurs"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $hour = $resRow["hour"]; // $dayisweek = $resRow["dayisweek"]; // $day = $resRow["day"]; // $month = $resRow["month"]; // $taskgroup = $resRow["taskgroup"]; // $site = $resRow["site"]; // }