Sempervivum
Erfahrenes Mitglied
Verstehe. Und wie löscht Du? Leider geht das ganze nicht ohne die Datenbank, sonst würde ich mir schnell eine Testseite anlegen.
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
$.get('show_newname.php?id=' + data,function(data) {
// Neue Items anfügen
$('#row1').after(data);
// Input-Feld Inhalt zurücksetzen.
$("#bezeichnung").val("");
})
echo "<div class='col-lg-3 col-xs-6 did$row[0]'>";
echo "<div class='small-box bg-aqua'>";
echo "<div class='inner'>";
echo "<p>Name</p>";
echo "<h2>$row[1]</h2>";
echo " </div>";
echo "<a href='#' id ='delcat' class='small-box-footer' data-catid='$row[0]' >Löschen <i class='fa fa-eraser'></i></a>";
echo " </div></div>";
<div class="row">
<? foreach($stmt as $row) { ?>
<div class="col-lg-3 col-xs-6 did<?php echo $row[0]; ?>" id="row1">
<div class="small-box bg-aqua">
<div class="inner did2<?php echo $row[0]; ?>">
<p>Name</p>
<h2><? echo $row[1]; ?></h2>
</div>
<a href="#" id ="delcat" class="small-box-footer" data-catid="<?php echo $row[0]; ?>" >Löschen <i class="fa fa-eraser"></i></a>
</div>
</div>