SHARE
TWEET

Untitled

a guest Apr 21st, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $nr = $this->query("SELECT * FROM users WHERE username = '$username' AND password = '$passoword'");
  2.  
  3.   if($nr->num-rows != 0) {
  4.     echo '<div class="errormsg">Username or Password is incorrect</div>';
  5.       }else{
  6.     while($row = $nr->fetch_assoc()) {
  7.       $_SESSION['lia'] = $row['username'];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top