<div class="table-responsive"> <?php if (isset($allNodes)) { ?> <table class="table table-hover table-striped"> <thead> <tr> <th>ID</th> <th>Name</th> <!--<th>Record Count</th>--> <th>Action</th> </tr> </thead> <tbody> <?php $final = $aeroview->getNodeSetsAndObjectCount($allNodes); //echo results, divide object count by replication factor $counter = 1; foreach ($final as $key => $value) { echo "<tr><td>" . $counter . "</td>"; echo "<td>" . $key . "</td>"; // echo "<td>" . $value / $replicationFactor . "</td>"; echo "<td><a href='/records.php?host=" . $qs['host'] . "&namespace=" . $qs['namespace'] . "&set=" . $key . "'><i class='fa fa-sign-in'></i> Explore Records</a></td></tr>"; $counter++; } ?> </tbody> </table> <?php } ?>