debugging of submit - added json output

This commit is contained in:
overplayed 2025-03-16 00:28:08 -04:00
parent ebf338c6d1
commit 9103af9460
1 changed files with 4 additions and 0 deletions

View File

@ -99,6 +99,10 @@ if ($stmt->execute()) {
echo json_encode(["error" => "Error saving response."]); echo json_encode(["error" => "Error saving response."]);
} }
header("Content-Type: application/json");
echo json_encode(["debug" => "Submit script is running"]);
exit;
$conn->close(); $conn->close();
exit; exit;
?> ?>