SHARE
TWEET

Untitled

a guest Jul 21st, 2017 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $query = mysql_query("select * form usuarios where user = '$user' and pass= '$pass'") or die(mysql_error());
  2.  
  3. if(mysql_num_rows($query) > 0) {
  4.  //es usuario
  5. } else {
  6. //no es usuario
  7. }
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