Advertisement
Guest User

Untitled

a guest
May 28th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1.  
  2. REPLACE THESE LINES
  3.  
  4. $result = mysql_query("SELECT * from matthes_berliner_r_accounts WHERE user='$username' and password='$password'");
  5. $count = mysql_num_rows($result);
  6.  
  7. WITH
  8.  
  9. $sql = "SELECT * from matthes_berliner_r_accounts WHERE user='$username' and password='$password'";
  10. $result = mysql_query($sql);
  11. if (!$result)
  12. {
  13. echo mysql_error();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement