</h2> <table class="table table-striped"> <thead> <tr> <th> Employee ID </th> <th> Delete </th> </tr> </thead> <tbody> <?php if ($showSearch) { $Users->SearchUser($_POST['searchWord']); } else { $Users->GetAll(); } $row = 0; while ($Users->HasNext()) { $acc = $Users->UserAccount; echo '<tr> <td>' . $acc . '</td> <td> <a href=manageEmploy.php?action=2&account=' . $acc . ' class="btn btn-default glyphicon glyphicon-trash"></a> </td> </tr>'; $row++; } ?>