Advertisement
Guest User

Untitled

a guest
Dec 10th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. $existing_users = array();
  2. $result = mysql_query("SELECT `name` FROM `users`", $dbname);
  3. while($myrow = mysql_fetch_assoc($result)) {
  4. $existing_users[] = $myrow['name'];
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement