Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($result->num_rows > 0) {
- // output data of each row
- while($row = $result->fetch_assoc()) {
- echo "username: " . $row["username"]. " - password: " . $row["password"]. "<br>";
- }
- } else {
- echo "0 results";
- }
- $conn->close();
Add Comment
Please, Sign In to add comment