<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<table class="table table-striped table-bordered dt-responsive nowrap" cellspacing="0" width="100%">
        <thead>
            <tr>
                
                
                <th>Customer</th>
                             
                <th>Action</th>
            </tr>
        </thead>
        <tbody>
            <?php
			require_once("config/configDB.php"); 
			$fromdate=$_POST['fromDate'];
			$todate=$_POST['toDate'];
			$sq =mysqli_query($conn, "SELECT  sh.customer_id, cm.cname FROM dcheader as sh LEFT JOIN customer_master as cm on cm.id = sh.customer_id  ");
			
			
			while($rows=mysqli_fetch_array($sq))
			 { 
			
			
			?>
              <tr>
                 
           <td><?php echo $rows["cname"];?></td>
           </tr>
           <?php
		   }
		   ?>
        </tbody>
       
    </table>
</body>
</html>
