Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- table#Kommentare{
- float: left;
- border: dotted 1px black;
- max-width: 600px;
- }
- a.uploader{
- font-family: cursive;
- font-size: xx-small;
- }
- </style>
- </head>
- <body>
- <div id="Head">
- </div>
- <div id="Kommentare">
- <form action="kommentar.php" method="post">
- <input type="text" name="Kommi" placeholder="Kommentar">
- <br><br>
- <input type="submit" value="Pfostieren">
- </form>
- <?php
- echo '<table id="Kommentare">';
- while ($zeile = mysqli_fetch_array( $db_erg1, MYSQL_ASSOC))
- {
- echo "<tr>";
- echo "<td>".$zeile['Kommentar']."<br /><a class='uploader'>".$zeile['Uploader']."</a></td>";
- echo "</tr>";
- }
- echo "</table>";
- ?>
- </div>
- <div id="Content">
- <?php
- while ($zeile2 = mysqli_fetch_array( $bild, MYSQL_ASSOC))
- {
- echo"<img src='".$zeile2['Bild']."' width='' height='' alt='' />";
- }
- ?>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement