From 9103af94606429de93bb157b898869dbca9a7a6e Mon Sep 17 00:00:00 2001 From: overplayed <47672088+overplayed@users.noreply.github.com> Date: Sun, 16 Mar 2025 00:28:08 -0400 Subject: [PATCH] debugging of submit - added json output --- submit.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/submit.php b/submit.php index 48913a9..5a6afa0 100644 --- a/submit.php +++ b/submit.php @@ -99,6 +99,10 @@ if ($stmt->execute()) { echo json_encode(["error" => "Error saving response."]); } +header("Content-Type: application/json"); +echo json_encode(["debug" => "Submit script is running"]); +exit; + $conn->close(); exit; ?>