Advertisement
Guest User

Untitled

a guest
Jul 5th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. //Do the query, and check the number of rows returned
  2. $sql = mysql_query("SELECT * FROM usersystem WHERE username = 'username' AND password = 'password' LIMIT 1");
  3. $rows = mysql_num_rows($sql);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement