From 8bafb759d730b0bfe9ba00070609844c91dc6064 Mon Sep 17 00:00:00 2001 From: Grim0o5 Date: Mon, 13 Jan 2025 08:09:00 +0545 Subject: [PATCH] added pop out and form valiation --- createAccount.php | 40 +++++++++++++++++++++++++++++++++++----- register.php | 2 +- 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/createAccount.php b/createAccount.php index 2f43cb4..efc44a6 100644 --- a/createAccount.php +++ b/createAccount.php @@ -6,6 +6,36 @@ Create Account - Temphire + @@ -16,7 +46,7 @@

Create Account

-
+
@@ -49,7 +79,8 @@ - + +
@@ -74,12 +105,11 @@ Password +
- -
@@ -88,4 +118,4 @@ - \ No newline at end of file + diff --git a/register.php b/register.php index bb2adab..97c0679 100644 --- a/register.php +++ b/register.php @@ -21,7 +21,7 @@ if (isset($_POST['signup'])) { $result = $stmt->get_result(); if ($result->num_rows > 0) { - echo ""; + echo " "; exit(); } else { // Insert user into the database using prepared statement