<?php
	require "../commonincludefiles.php";
   	$objlms_customerbillMgmt = new lms_customerbillMgmt();
	$i=0;
	$order_field=" customer_name";
	$order_type=" ASC ";
	$rs = $objlms_customerbillMgmt->getCustomername1($limit,$start,$where,$order_field,$order_type);
	$total = dbRows($rs);
	$CustomerData = array("count" => $total, "data" => array());
	if(dbRows($rs) > 0){
		while($row = dbArray($rs)){
			
			$temparray["customer_name"]  	= $row["customer_name"];
			
			$CustomerData["data"][$i] = $temparray;   
			$i++;
		}
	}
	echo json_encode($CustomerData);	
?>