<div class="col-xs-4"> <a href="#myModalsignup" data-toggle="modal"><button class="btn btn-success"><span class="glyphicon glyphicon-plus"></span>Add New Event</button></a> <h3>Active event Lists</h3> <tbody> <table class="table table-striped table-bordered table-hover table-responsive"> <thead> <tr> <th style="color:green">Event Name</th> <th style="color:red;"colspan="2">Actions</th> </tr> </thead> </tbody> <?php $ev = new Event(); $list_of_event = array(); $list_of_event = $ev->loadEvent($pagination->per_page, $pagination->offset()); foreach ($list_of_event as $event) { ?> <tr> <td><?php echo $event->event_name; ?> </td> <td> <a href="event_modal.php?event_id=<?php echo $event->event_id; ?> " data-toggle="modal"> <button id="btn_edit" class="btn btn-primary"> <span class="glyphicon glyphicon-edit"></span> Edit </button>