From 31c6796950bd956bf09161aae3b43fa710af4285 Mon Sep 17 00:00:00 2001 From: overplayed <47672088+overplayed@users.noreply.github.com> Date: Sat, 15 Mar 2025 18:47:59 -0400 Subject: [PATCH] Added backend form processing --- db.php | 11 +++++ forms/questionnaire.html | 2 +- submit.php | 93 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 db.php create mode 100644 submit.php diff --git a/db.php b/db.php new file mode 100644 index 0000000..d92651d --- /dev/null +++ b/db.php @@ -0,0 +1,11 @@ +connect_error) { + die("Database connection failed: " . $conn->connect_error); +} +?> diff --git a/forms/questionnaire.html b/forms/questionnaire.html index ac3c4fe..34bf6da 100644 --- a/forms/questionnaire.html +++ b/forms/questionnaire.html @@ -15,7 +15,7 @@