(TAMPIL)
<?php
echo
"<a href='index.php'>index</a>";
echo
"<table cellpadding='3' cellspacing='0'>";
include
"koneksi.php";
$query="select*from
buku order by id desc";
$result=mysql_query($query);
while($row=mysql_fetch_array($result))
{
echo
("
<tr>
<td colspan='3'><hr></td>
</tr>
<tr>
<td >Nama :</td>
<td >$row[nama]</td>
</tr>
<tr>
<td >E-mail :</td>
<td >$row[email]</td>
</tr>
<tr>
<td >Pesan :</td>
<td >$row[pesan]</td>
</tr>");
}
echo"</table>";
?>
Tidak ada komentar:
Posting Komentar