<?php include("admin/load/nosession.php"); //Load Database Connection $results = $mysqli->query("SELECT * FROM productgenealogy"); while ($resRow = $results->fetch_assoc()) { $id = $resRow["id"]; // $product = $resRow["product"]; // $member = $resRow["member"]; // $parent = $resRow["parent"]; // $originalparent = $resRow["originalparent"]; // $active = $resRow["active"]; // }