<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM reporttypes"); while ($resRow = $results->fetch_assoc()) { $hasdonutchart = $resRow["hasdonutchart"]; // $haslinechart = $resRow["haslinechart"]; // $hasscatterchart = $resRow["hasscatterchart"]; // $hasareachart = $resRow["hasareachart"]; // $haslist = $resRow["haslist"]; // $hascalendar = $resRow["hascalendar"]; // $name = $resRow["name"]; // $haspiechart = $resRow["haspiechart"]; // $hasbarchart = $resRow["hasbarchart"]; // $id = $resRow["id"]; // $title = $resRow["title"]; // $description = $resRow["description"]; // $hasbubblechart = $resRow["hasbubblechart"]; // $active = $resRow["active"]; // }