 <?php 
if(isset($_POST['vno'])){
extract($_POST);
require 'connection.php';



 $qry = "SELECT * FROM jvvoucher where vno = $vno";
   $run = mysqli_query($connect, $qry) or die(mysqli_error($connect));
   $row = mysqli_fetch_array($run);
   
	$vno=$row['vno'];
	$dated=$row['dated'];
	$craccid=$row['craccid'];
	
	$draccid=$row['draccid'];




	?>

<input hidden id="spdated" type="text" value="<?php echo $dated; ?>" name="">
<input hidden id="spidss" type="text" value="<?php echo $craccid; ?>" name="">
<input hidden id="custidss" type="text" value="<?php echo $draccid; ?>" name="">

 <label>Description</label>
            <br>
<input class="form-control" type="text" id="descbox" name="" value="<?php echo $row['description']; ?>">
<br>
 <label>Amount</label>
            <br>
<input class="form-control" type="text" id="amtbox" name="" value="<?php echo $row['amount']; ?>">




<?php } ?>

