<?php
$sn=$_GET["sn"];
$adi=$_GET["adi"];
$adet=$_GET["adet"];
$fiyat=$_GET["fiyat"];
$stktarih=$_GET["stktarih"];
?>
<form class="form mx-auto w-25 mx-auto mt-5" method="post" action="">
<label>Seri No:</label> <br>
<input type="text" class="w-50 name="SeriNo" disabled value="<?=$sn?>">
<br>
<label>Adı:</label> <br>
<input type="text" class="w-50 name="Aditxt" value="<?=$adi?>">
<br>
<label>Adet:</label> <br>
<input type="text" class="w-50" name="Adet" value="<?=$adet?>">
<br>
<label>Fiyat:</label> <br>
<input type="text" class="w-50 name="fiyattxt" value="<?=$fiyat?>">
<br>
<label>Stok Tarihi:</label> <br>
<input type="date" class="w-50" name="stoktarihitxt" value="<?=$stktarih?>">
<br>
<input type="submit" class="btn btn-primary mt-3 w-50" value="Güncelle" name="Guncelle">
</form>
<?php
$serino=$_POST['SeriNo'];
$UrunAdi=$_POST['Aditxt'];
$Adeti=$_POST['Adettxt'];
$Fiyati=$_POST['fiyattxt'];
$StokTarih=$_POST['stoktarihitxt'];
echo $SeriNo;
?>