a guest Jun 15th, 2017 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $qry = "SELECT * FROM $table WHERE username='$usr' AND password='$pass'"
- $result = mysql_query($query);
- $num = mysql_numrows($result);
- if ($num == 0)
- //do something
RAW Paste Data