Guest User

Untitled

a guest
Oct 2nd, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. $sql = "select count(*) from usuarios where (username='$user' or email='$user') and password='$contra'";
  2.  
  3. $result = $con -> query($sql);
  4.  
  5. $row = $result -> fetch_assoc();
  6.  
  7. if(???????== 0){
  8.  
  9. echo "<h1 style='text-align:center'>Ingreso invalido del sistema</h1>";
  10. echo "<br>";
  11. echo "<a style='text-align:center' href='index.html'>Volver a Intentarlo</a>";
  12.  
  13. }
  14.  
  15. else {}
Add Comment
Please, Sign In to add comment