<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM documents"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $title = $resRow["title"]; // $body = $resRow["body"]; // $added = $resRow["added"]; // $updated = $resRow["updated"]; // $icon = $resRow["icon"]; // $documentfolder = $resRow["documentfolder"]; // $dorder = $resRow["dorder"]; // $locked = $resRow["locked"]; // $confidential = $resRow["confidential"]; // $member = $resRow["member"]; // $attachid = $resRow["attachid"]; // $attachtype = $resRow["attachtype"]; // $redirect = $resRow["redirect"]; // $shortdescr = $resRow["shortdescr"]; // }