query($query); if($result->num_rows>0) { while ($row=$result->fetch_assoc()) { $u2=$row["username"]; $status=$row["status"]; if($status=="P") { $u2=$row["username"]; $_SESSION["u2"]=$u2; unset($_SESSION['ilog2']); $_SESSION['ilog']=1; header('location:cl/'); }else { echo "
Please enter your Account Username and your Password.
Our online banking makes your life easier! Plus, it's free !