Advertisement
DaCurse

Untitled

Oct 8th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php
  2. $connection = new mysqli("localhost", "root", '', 'register') or die($connection->error);
  3. echo '';
  4. $select = "SELECT `username`,`password` FROM `usernames`";
  5. $data = $connection->query($select) or die($connection->error);
  6. while($row = $data->fetch_assoc()) {
  7. echo $row['password']."</br>" ;
  8. }
  9. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement