Advertisement
Guest User

Untitled

a guest
Jun 11th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <?php
  2. $host = "localhost";
  3. $user = "authdb";
  4. $password = "+++++";
  5. $dbname = "authdb";
  6. $tabelle ="users";
  7.  
  8. $dbverbindung = mysql_connect ($host, $user, $password);
  9.  
  10. $dbanfrage = "SELECT u_password from $tabelle";
  11.  
  12.  
  13. $result = mysql_db_query($dbname, $dbanfrage, $dbverbindung) OR die(mysql_error());
  14.  
  15. while ($ausgabe = mysql_fetch_array($result))
  16. {
  17. print ($ausgabe['u_password']."
  18.  
  19. ".$ausgabe['u_password']."
  20. <hr>
  21. ");
  22. }
  23.  
  24. mysql_close ($dbverbindung)
  25. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement