$deletefr = $user->deletefromwaitlist($did); } ?> </div> <div class="col-md-4" style="margin-top:420px"> <h3 class="text-danger">Waiting list of patients :</h3> <table class="table"> <tr> <th>Serial :</th> <th>User Name :</th> </tr> <?php $waitu = $user->listofwait(); $i = 0; foreach ($waitu as $lu) { $i++; ?> <tr class="text-success"> <td><?php echo $i; ?> </td> <td><?php echo $lu['user_name']; ?> </td>