<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM rankqualify"); while ($resRow = $results->fetch_assoc()) { $ranktype = $resRow["ranktype"]; // $rankbadge = $resRow["rankbadge"]; // $qtype = $resRow["qtype"]; // $qamount = $resRow["qamount"]; // $id = $resRow["id"]; // $title = $resRow["title"]; // $qvar = $resRow["qvar"]; // $difficulty = $resRow["difficulty"]; // }