debugging of submit - added json output
This commit is contained in:
parent
ebf338c6d1
commit
9103af9460
|
|
@ -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;
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue