Guest User

Untitled

a guest
Sep 23rd, 2017
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. if ($result->num_rows > 0) {
  2. // output data of each row
  3. while($row = $result->fetch_assoc()) {
  4. echo "username: " . $row["username"]. " - password: " . $row["password"]. "<br>";
  5. }
  6. } else {
  7. echo "0 results";
  8. }
  9. $conn->close();
Add Comment
Please, Sign In to add comment