init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
8
scripts/fahrzeuge.php
Normal file
8
scripts/fahrzeuge.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?
|
||||
|
||||
if(isset($_POST['fahrzeug'])) { $GLOBALS['mysql']->insert("INSERT INTO fahrzeuge (kz) VALUES('".$_POST['fahrzeug']."')"); }
|
||||
if(isset($_POST['delete'])) { $GLOBALS['mysql']->query("DELETE FROM fahrzeuge WHERE id='".$_POST['delete']."'"); }
|
||||
$fahrzeugliste = $GLOBALS['mysql']->query_array("SELECT * FROM fahrzeuge");
|
||||
$template->assign('fahrzeugliste', $fahrzeugliste);
|
||||
$template->assign('content', 'tpl/fahrzeug_list.tpl');
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue