<?php
$q = intval($_GET['q']);
include "../connection/config.php";
$sqla="select * from item_details where iid='$q'" ;
$exea=mysqli_query($con,$sqla);
$fetcha=mysqli_fetch_assoc($exea);
$amount  =  $fetcha['item_price'];
?>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>

<body>
     
      <div class="col-sm-3"><b style=""></b>
      <input type="text" class="form-control" value="<?php echo $amount; ?>" name="amnt" placeholder="Amount" style="width:70px;">
      </div>
      <div class="col-sm-3"><b></b><input type="number" class="form-control" name="quantity" required="" placeholder="Qnty" style="width:70px; margin-left:35px;"></div>
      </div>

</body>
</html>
