Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html><html><head><meta charset="utf-8"></head><body>
- <?php
- //$username = $_POST["username"];
- //$password = $_POST["password"];
- $zaehler = 0;
- $con = mysqli_connect("", "root", "", "userdaten");
- $abfrage = "SELECT * FROM daten";
- $res = mysqli_query($con,$abfrage);
- $num = mysqli_num_rows($res);
- while($zaehler < $num)
- {
- $erg = mysqli_fetch_assoc($res);
- echo $erg["username"]; ?> <br> <?php
- echo $erg["password"];?> <br> </br><?php
- $zaehler=$zaehler+1;
- }
- mysqli_close($con);
- ?>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement