diff --git a/sys0-code/app/debug.php b/sys0-code/app/debug.php
index 91098f8..6ef46b7 100644
--- a/sys0-code/app/debug.php
+++ b/sys0-code/app/debug.php
@@ -81,6 +81,13 @@ function delete_input(input,action,id,row){
$stmt = mysqli_prepare($link, $sql);
mysqli_stmt_execute($stmt);
}
+ if($_GET["action"]=="add_class"){
+ $name=$_POST["class_name"];
+ $id=$_POST["filament_id"];
+ $sql="INSERT INTO class (name) VALUES ('$name')";
+ $stmt = mysqli_prepare($link, $sql);
+ mysqli_stmt_execute($stmt);
+ }
$cnt=0;
$url="";
$apikey="";
@@ -164,47 +171,56 @@ function delete_input(input,action,id,row){
}
echo("");
?>
-
-
Filamentfarbe
- form => color
+
+ Klassen
+ | Druckerid | Rotation |
");
+ echo("");
+
+ ?>
- ?>
Filamente
form => color