daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Sep 23rd, 2016 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $result = mysqli_query($link,"SELECT user, pass FROM usuarios WHERE user= $username AND pass= $password");
  2.  
  3.             if($result && mysqli_num_rows($result) > 0)
  4.             {
  5.                     // Login OK, continuar con el codigo.
  6.             }
  7.             else
  8.             {
  9.                     // Introduciendo un usuario y password que existen me salta este error todo el rato.
  10.                     echo 'Usuario o password no existe';
  11.             }
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