Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <?php
- $verbindung = mysql_connect("localhost", "root", "tvYK7v4D2b7w")
- or die ("An internal error occurred. ");
- mysql_select_db("acp")
- or die ("An internal error occurred. ");
- $control = 0;
- $abfrage = "SELECT * FROM ServerData";
- $ergebnis = mysql_query($abfrage);
- while($row = mysql_fetch_assoc($ergebnis)) { ?>
- <table>
- <thead>
- <td>ID</td>
- <td>Servername</td>
- <td>Online</td>
- </thead>
- <?php
- while($row = mysql_fetch_assoc($query)) {
- ?>
- <tr>
- <td>
- <a class="users" href="user.php?id=<?php echo $row['id']; ?>"><?php echo $row['id']; ?></a>
- </td>
- <td>
- <a class="user"><?php echo $row['id']; ?></a>
- </td>
- <td>
- <a class="users"><?php echo $row['servername']; ?></a>
- </td>
- <td>
- <a class="users"><?php echo $row['online']; ?></a>
- </td>
- </tr>
- </table>
- </head>
- <body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement