Fix ID
This commit is contained in:
parent
7eb0302faa
commit
e01c3c9fb0
@ -30,13 +30,13 @@
|
||||
<div class="col">
|
||||
<div class="list">
|
||||
<?php
|
||||
foreach ($result as $index => $item) {
|
||||
foreach ($result as $item) {
|
||||
?>
|
||||
<div class="item">
|
||||
<span class="marker"><?= $index + 1 ?></span>
|
||||
<span class="marker"><?= $item["ID"] ?></span>
|
||||
<span class="content"><?= $item["Name"] ?></span>
|
||||
<form action="action.php" method="post">
|
||||
<input type="hidden" name="ID" value="<?= $index + 1 ?>" />
|
||||
<input type="hidden" name="ID" value="<?= $item["ID"] ?>" />
|
||||
<button name="act" value="rem">Entfernen</button>
|
||||
</form>
|
||||
</div>
|
||||
@ -52,4 +52,4 @@
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user