Pertama, bagi query dan form building seperti itu
$data = mysqli_fetch_array($result)
lalu
<?php foreach ($data as $key => $row): ?>
<tr>
<td>
<div class='dropdown-content'>
<a href='modif.php?id=<?=$row['id']?>'>Modifier</a>
<a href='delete.php?id=<?=$row['id']?>'>Supprimer</a>
</div>
</td>
</tr>
<?php endforeach ?>
Dan di modif.php
. Anda$id = $_GET['id'];