You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$sql=mysqli_query($con,"SELECT * FROM users WHERE activationcode='$code'");
64
+
$num=mysqli_fetch_array($sql);
65
+
if($num>0)
66
+
{
67
+
68
+
$st=0;
69
+
$result =mysqli_query($con,"SELECT id FROM users WHERE activationcode='$code' and status='$st'");
70
+
$result4=mysqli_fetch_array($result);
71
+
72
+
if($result4>0)
73
+
{
74
+
$st=1;
75
+
$result1=mysqli_query($con,"UPDATE users SET status='$st' WHERE activationcode='$code'");
76
+
echo"<script>
77
+
Swal.fire(
78
+
'Account Verified and Activated !!',
79
+
'You have verified your account and are a part of Athena family :)<br><br><b>Please login with the username and password sent on your registered mail along with verification link.</b>',
'You have already verified your account and are a part of Athena family :)<br><br><b>Please directly login with the username and password sent on your registered mail along with verification link.</b>',
'Uhh.. Ohh.. <br>Seems like the verification link has expired for your account.<br><br><b>Please forward the mail immediately to hariket.sukeshkumar2020@gmail.com for verification.</b>',
'You are trying to access a page for which the user do not have proper permission. <br><b>Do not try to access this page without permission again !</b>',
0 commit comments