diff --git a/contact-us-action.php b/contact-us-action.php index f6a1164..7cc32b2 100644 --- a/contact-us-action.php +++ b/contact-us-action.php @@ -16,4 +16,13 @@ session_start(); ); $array = json_decode($response,true); var_dump($array); - header("location: contact-us-test.php"); \ No newline at end of file + header("location: contact-us-test.php"); + + +# message success +$result = customerExists($_SESSION["email"]); + +if ($result > 0) { + $_SESSION["SuccessfullySent"] = "Message Sent Successfully"; + header("location: contact-us-test.php"); +} \ No newline at end of file diff --git a/contact-us-test.php b/contact-us-test.php index beec0cb..c223dfd 100644 --- a/contact-us-test.php +++ b/contact-us-test.php @@ -1,5 +1,5 @@ - + @@ -834,6 +834,22 @@