Jelenlet alapfunkcio OK. Edzes torles OK.

This commit is contained in:
Ricsi
2016-11-20 22:55:27 +01:00
parent e4806322fd
commit f9e6e1ecbb
19 changed files with 289 additions and 44 deletions

View File

@@ -0,0 +1,10 @@
<?php
if ($this->is_id()) {
$delete_query = "DELETE FROM training WHERE tr_id = " . $this->get_id() . ";";
$sql->execute_query($delete_query);
header("Location: /admin/trainings");
}
?>