Guest User

Untitled

a guest
May 15th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
  2. $result=mysql_query($sql);
  3.  
  4. // Mysql_num_row is counting table row
  5. $count=mysql_num_rows($result);
Add Comment
Please, Sign In to add comment