From b99a598c6d97a104ab30d43bea6009d5e4553ddc Mon Sep 17 00:00:00 2001 From: JoyM268 <125041935+JoyM268@users.noreply.github.com> Date: Wed, 5 Jun 2024 06:03:24 +0530 Subject: [PATCH] Form Submission Update --- PHP/contact.php | 2 +- PHP/form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PHP/contact.php b/PHP/contact.php index 104e0c6..3495cdc 100644 --- a/PHP/contact.php +++ b/PHP/contact.php @@ -19,7 +19,7 @@ if($conn->query($sql) === TRUE){ header('Location: ../feedbacksubmitted.html'); }else{ - echo "The message submission failed"; + header('Location: ../feedbackfailed.html'); } $conn->close(); diff --git a/PHP/form.php b/PHP/form.php index 95ceb01..4a8ba02 100644 --- a/PHP/form.php +++ b/PHP/form.php @@ -22,7 +22,7 @@ if($conn->query($sql) === TRUE){ header('Location: ../formsubmitted.html'); }else{ - echo "The form submission failed"; + header('Location: ../formfailed.html'); } $conn->close();