<?php include "layouts/menu.php"; ?> <div class="right_col" role="main">
            <div class="row">
                 <!-- page header -->
                <div class="col-lg-12">
                    <h1 class="page-header">Pending List</h1>
                </div>
                <!--end page header -->
            </div>
			  <?php //$imm=$_REQUEST['imm'];
		$ff = NULL;
 $qry2 = "SELECT * FROM customerdetails";
   //$qry2 = "SELECT * FROM customerdetails where mfin='$mfin'";
	  $rs = mysqli_query($conn, $qry2);
	  // Loop the recordset $rs
	// Each row will be made into an array ($row) using mysqli_fetch_array
	while($row = mysqli_fetch_array($rs)){

$idd = $row['id'];
	$selected_date2=$row['hpdate'];
		  	$selected_date=strtotime( $selected_date2 );
			$mysqldate = date( 'd-m-Y', $selected_date );
$duedat55 = date("d-m-Y", strtotime("$selected_date2 + " . 1 . " month"));
				$mysqldatedd = date( 'd', $selected_date );
			$mysqldate2 = date( 'Y-m-d', $selected_date );
$update=mysqli_query($conn, "update customerdetails set hpdate2='$duedat55' where id='$idd'");
echo $idd; echo "-"; }
	 ?>
			
 </div></div>
 
 
</div>
</div></div>
</div><?php include "layouts/footer.php"; ?></body></html>