function viewReservations() { $reservation = new Reservations(); $data = $reservation->getAllReservationsPaginated($_REQUEST['page']); $count = $reservation->getAllReservationsCount(); viewTable($data, $count[0]['count']); }
function viewReservations() { $reservation = new Reservations(); $data = $reservation->getAllReservationsPaginated($_REQUEST['page']); $count = $reservation->getAllReservationsCount(); viewTable($data, $count[0]['count']); }