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