Guest User

Untitled

a guest
Oct 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $sth2 = $dbh->query("SELECT * FROM members");
  2. $result = $sth2->fetchAll(PDO::FETCH_OBJ);
  3. for ($count = 0; $count < $sth2->rowCount(); $count++)
  4. {
  5. echo $result[$count]->username;
  6. }
Add Comment
Please, Sign In to add comment