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