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