diff --git a/add-asset.php b/add-asset.php new file mode 100644 index 0000000..0e8f787 --- /dev/null +++ b/add-asset.php @@ -0,0 +1,161 @@ +prepare($sql); + $stmt->execute([$name, $asset_tag, $status, $location, $manufacturer, $model, $purchase_date]); + + header("Location: index.php?success=asset_added"); + exit; + + } catch (PDOException $e) { + $error_message = 'Database error: ' . $e->getMessage(); + } + } +} +?> + + +
+ + += ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-This page will update automatically as the plan is implemented.
-Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>