<form method="post" action="dene.php">
<table class="table mb-0">
<thead class="table-dark">
<tr>
<th scope="col">#</th>
<th scope="col">Cinsi</th>
<th scope="col">Ölçüsü</th>
<th scope="col">Adet</th>
<th scope="col">Birim</th>
<th scope="col">Birim Fiyat</th>
<th scope="col">Toplam Fiyat</th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">0</th>
<td><input type="text" name="liste[0][cins]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[0][olcu]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[0][adet]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[0][birim]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[0][bfiyat]" class="form-control" placeholder="..."></td>
<td><input type="text" class="form-control" placeholder="..."></td>
<td>+</td>
</tr>
<tr>
<th scope="row">1</th>
<td><input type="text" name="liste[1][cins]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[1][olcu]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[1][adet]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[1][birim]" class="form-control" placeholder="..."></td>
<td><input type="text" name="liste[1][bfiyat]" class="form-control" placeholder="..."></td>
<td><input type="text" class="form-control" placeholder="..."></td>
<td>+</td>
</tr>
</tbody>
</table>
<input type="submit" value="Submit">
</form>
<?php
if(isset($_POST['liste'])){
$bildirim= json_encode($_POST['liste']);
print_r($bildirim);
}
?>çıktı :
[{"cins":"fdg","olcu":"fdg","adet":"","birim":"","bfiyat":""},{"cins":"fdgdsf","olcu":"dfg","adet":"","birim":"","bfiyat":""}]
hocam çok çok teşekkür ederim. iyi çalışmalar diliyorum