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