<!DOCTYPE html>
<html lang="en">
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="expires" content="-1" />
<?php 

include "head_without_jquery.php";

include "dynamic_table.php";
?>

<?php

include "dbconfig.php";
$today= date('Y-m-d');
$sql="SELECT * FROM customers order by id DESC"; // this is main big SQL Query to fetch data
$res=mysqli_query($con,$sql);
$rowcount=mysqli_num_rows($res);
?>
   <body>

      

      <div class="container-fluid">
<div class="col-md-12" style="text-align:center;color:#0000; padding:5px; font-size:18px;">
   <h2> List of All Companies</h2>
     
</div>
      <div class="col-md-12" id="filter_results">
        
        <?php include "ajax/list_company_data.php";?>
        
		    </div>
	    </div>
<!-- Delete Modal -->

     <script>
   
  $(document).ready(function() {
	 
    $('#companies').DataTable( {
        dom: 'Bfrtip',
        buttons: [
            'copyHtml5',
            'excelHtml5',
            'csvHtml5',
            'pdfHtml5',
			'print'
			        ]
    } );
} );
 </script>
 
   </body>
</html>
