Guest User

Untitled

a guest
Jan 12th, 2016
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $result = mysql_query('SELECT COUNT(*) from account where username="'.$username.'" and password="'.$password.'"');
  2. $result = mysql_fetch_array($result);
  3. if($result[0] > 0){
  4.     ...
  5. }
Add Comment
Please, Sign In to add comment