<?php
include 'db.php';
$name = $_POST['name'];
$desc = $_POST['description'] ?? '';
$conn->query("INSERT INTO dinein_floors (name, description) VALUES ('$name', '$desc')");
header("Location: floor_list.php?success=1");
