$obj = new notifications(); ?> </head> <body> <?php include_once 'include/menu.php'; ?> <div class="content1"> <div class="welcome"><h3>Welcome <?php echo $_SESSION['username']; ?> !</h3></div> <table id="datatable" class="display" cellspacing="0" width="100%"> <thead> <tr> <td><b>S.no</b></td> <td><b>Notification</b></td> <td></td> </tr> </thead> <?php $particular_date = $_GET['particular_date']; if ($particular_date) { $obj->notifications_list_for_toe($particular_date); } else { $obj->notifications_list(); } ?> </table> </div> </body> </html>