alert("Please enter correct Contact Person Name"); '); } $cust_contact1=$_POST['cust_contact1']; if (!preg_match('/^[0-9]{10}$/',$cust_contact1)) { $valid = true; die( ' '); } $cust_contact2=$_POST['cust_contact2']; if (!preg_match('/^[0-9]{10}$/',$cust_contact2)) { $valid = true; die( ' '); } $cust_remark=$_POST['cust_remark']; } //echo "bbb". $cust_id; $udtSql="UPDATE customer SET cust_contact_name='" . $cust_contact_name . "', cust_contact1='" . $cust_contact1 ."', cust_contact2='" . $cust_contact2 . "', cust_remark='" . $cust_remark . "' WHERE cust_id='" . $cust_id ."'"; $custUdt=mysql_query($udtSql) or die(mysql_error()); ?> update Customer
 
  Update Customer
           
 
Customer Number      
 
Customer Name      
 
Shop Name      
         
     
   
  Personal Details    
  Customer Number   Route Number      
  Customer Name   Customer State      
  Shop Name     ,
,
,
.
   
  Contact Person   Address    
Contact Number 1  
Contact Number 2  
             
  Remarks        
 
             
               
  Transaction History