This commit is contained in:
devdatt 2026-01-08 07:25:44 +05:30
parent b4565f5793
commit 961e56de48
1 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,4 @@
<?php include 'header.php'; ?>
<?php
$jsonFile = __DIR__ . "/input.json";
@ -9,7 +8,6 @@ if (!file_exists($jsonFile)) {
$data = json_decode(file_get_contents($jsonFile), true);
// Handle new service submission (AJAX POST)
if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["action"]) && $_POST["action"] === "add") {
$new = [
"id" => time(),
@ -28,7 +26,6 @@ if ($_SERVER["REQUEST_METHOD"] === "POST" && isset($_POST["action"]) && $_POST["
exit;
}
?>
<style>
body {