-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_signupAlerts.php
More file actions
28 lines (21 loc) · 864 Bytes
/
_signupAlerts.php
File metadata and controls
28 lines (21 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
if (isset($_GET['signup'])) {
if ($_GET['signup'] == 'success') {
echo "<div class='alert alert-success alert-dismissible fade show m-0' role='alert'>
<strong>Success!</strong> Your account was successfully created.
<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button>
</div>";
} else {
echo "<div class='alert alert-warning alert-dismissible fade show m-0' role='alert'>
<strong>Error!</strong>";
if ($_GET['signup'] == 'unmatch') {
echo " Passwords do not match.";
}
if($_GET['signup'] == 'exists') {
echo " This Email ID already exists.";
}
echo "<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button>
</div>";
}
}
?>