1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
|
<?php
$user = $_POST['user'];
$kommentar = $_POST['kommentar'];
$date = date("d.m.Y, h.i");
$datei = fopen("guestbook.html","a");
echo fwrite($datei, "
<table style="text-align: left; width: 400px;" border="1"cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: middle; text-align: center;"><small><font face="Tahoma">$user, $date: $kommentar</font></small></td>
</tr>
</tbody>
</table><br>",2000.);
fclose($datei);
?> |