<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM tasklevels"); while ($resRow = $results->fetch_assoc()) { $creditsamin = $resRow["creditsamin"]; // $title = $resRow["title"]; // $id = $resRow["id"]; // }