<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM phoneassign"); while ($resRow = $results->fetch_assoc()) { $type = $resRow["type"]; // $typeid = $resRow["typeid"]; // $isnotify = $resRow["isnotify"]; // $phonenumber = $resRow["phonenumber"]; // }