Guest User

Untitled

a guest
Sep 10th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. if(isset($_POST['submit'])){
  2. $username = mysql_real_escape_string($_POST['username']);
  3. $password = mysql_real_escape_string($_POST['password']);
  4. $query = mysql_query("SELECT * FROM kontakt WHERE username = '".$username."')");
  5. if(mysql_num_rows($query) >= 0)
  6. {
  7. echo"Bitte fülle alle Felder aus";
  8. }
  9. else
  10. {
  11. echo"Danke für dein Problem, Hilfe kommt";
  12. }
  13. }
Add Comment
Please, Sign In to add comment