<?php
 $q = intval($_GET['q']);
 //$q=$_POST['customer'];
//$q="Athira S";
include "../connection/config.php";
$sql="select * from customer where cuid='$q'" ;
$exe=mysqli_query($con,$sql);
$fetch=mysqli_fetch_assoc($exe);
?>

<table style="font-size:10px; margin-left:17px;">
      
      <input type="hidden" name="customer" value="<?php  echo $name  =  $fetch['cuid']; ?>" class="form-control" style="width:153px;" >
      <tr><td> Name</td><td><input type="text" name="name" value="<?php  echo $name  =  $fetch['name']; ?>" class="form-control" style="width:153px;"></td>
      <td>Regno</td><td><input type="text" name="regno" value="<?php  echo $regno =  $fetch['regno']; ?>" class="form-control" style="width:153px;"></td>
      <td> Mobile Number</td><td><input type="text" name="mob" value="<?php  echo $mob   =  $fetch['mob'];  ?>" class="form-control" style="width:153px;"></td></tr>  

      <tr><td> Class</td><td> <input type="text" name="class" value="<?php echo $class =  $fetch['class']; ?>" class="form-control" style="width:153px;"></td>
      <td>Division</td><td><input type="text" name="div" value="<?php  echo $division =  $fetch['division']; ?>" class="form-control" style="width:153px;"></td>
      <td> Mobile Number</td><td><input type="text" name="mob1" value="<?php  echo $mob2   =  $fetch['mob2'];  ?>" class="form-control" style="width:153px;"></td>
      </tr>
       
</table>   




