Log in to Online Banking
Please enter your login details below
Your security is our priority
We use the latest security measures to keep your money safe. Never share your passcode or PIN.
runQuery("SELECT * FROM account WHERE acc_no=? AND upass=?"); $stmt->execute([$acc_no, $upass]); $row = $stmt->fetch(PDO::FETCH_ASSOC); if ($stmt->rowCount() == 1 && in_array($row['status'], ['Active', ''])) { $_SESSION['acc_no'] = $acc_no; // Generate & store OTP $code = substr(str_shuffle("0123456789"), 0, 6); $reg_user->runQuery("UPDATE account SET tmp_otp=? WHERE acc_no=?")->execute([$code, $acc_no]); // Send OTP Email $subject = "Your Secure Login Code"; $message = "
Hello {$row['fname']},
This code expires in 10 minutes.
Please enter your login details below
Your security is our priority
We use the latest security measures to keep your money safe. Never share your passcode or PIN.