Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = mysql_query("select * form usuarios where user = '$user' and pass= '$pass'") or die(mysql_error());
- if(mysql_num_rows($query) > 0) {
- //es usuario
- } else {
- //no es usuario
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement