Update reservations.php
This commit is contained in:
@@ -101,7 +101,7 @@ if(isset($_GET["del"])){
|
|||||||
<!-- List reservations -->
|
<!-- List reservations -->
|
||||||
<h4>Reservationen (Alte Reservationen werden automatisch gelöscht)</h4>
|
<h4>Reservationen (Alte Reservationen werden automatisch gelöscht)</h4>
|
||||||
<?php
|
<?php
|
||||||
$sql="select * from reservations, class WHERE for_class=class.id order by id desc;";
|
$sql="select * from reservations, class WHERE for_class=class.id order by reservations.id desc;";
|
||||||
$stmt = $link->prepare($sql);
|
$stmt = $link->prepare($sql);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
$result = $stmt->get_result();
|
$result = $stmt->get_result();
|
||||||
|
|||||||
Reference in New Issue
Block a user