Advertisement
Guest User

dfas

a guest
Jun 30th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.31 KB | None | 0 0
  1.  
  2. <html>
  3.     <head>
  4.     <style>
  5.             table#Kommentare{
  6.                 float: left;
  7.                 border: dotted 1px black;
  8.                 max-width: 600px;
  9.  
  10.                 }
  11.             a.uploader{
  12.                 font-family: cursive;
  13.                 font-size: xx-small;
  14.             }
  15.  
  16.     </style>
  17.  
  18.  
  19.     </head>
  20.     <body>
  21.         <div id="Head">
  22.  
  23.         </div>
  24.  
  25.         <div id="Kommentare">
  26.          <form action="kommentar.php" method="post">
  27.             <input type="text" name="Kommi" placeholder="Kommentar">
  28.             <br><br>
  29.             <input type="submit" value="Pfostieren">
  30.         </form>
  31.         <?php
  32.           echo '<table id="Kommentare">';
  33.             while ($zeile = mysqli_fetch_array( $db_erg1, MYSQL_ASSOC))
  34.             {
  35.                 echo "<tr>";
  36.                 echo "<td>".$zeile['Kommentar']."<br /><a class='uploader'>".$zeile['Uploader']."</a></td>";
  37.                 echo "</tr>";
  38.             }
  39.             echo "</table>";
  40.          ?>
  41.         </div>
  42.  
  43.         <div id="Content">
  44.             <?php
  45.             while ($zeile2 = mysqli_fetch_array( $bild, MYSQL_ASSOC))
  46.                {
  47.  
  48.  
  49.            echo"<img src='".$zeile2['Bild']."' width='' height='' alt='' />";
  50.             }
  51.  
  52.             ?>
  53.         </div>
  54.     </body>
  55.  
  56. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement