Location: PHPKode > scripts > Private address book > private-address-book/list.php
<table border = 4><tr><th>ID</th><th>Name</th><th>Surname</th><th>Nickname</th><th>Address</th><th>Number</th><th>Email</th><th>Info</th></tr>
<style type="text/css">
<!--
body {  font-family: "Times New Roman", Times, serif; background-color: #00FFFF}
-->
</style>

<?php
include('database.php');

$query="SELECT * FROM users";
$rez=mysql_query($query);
while ($row = mysql_fetch_array($rez))
{
print "<tr><td>{$row['id']}</td><td>{$row['name']}</td><td>{$row['surname']}</td><td>{$row['nickname']}</td><td>{$row['address']}</td><td>{$row['number']}</td><td>{$row['email']}</td><td>{$row['info']}</td></tr>";  
}

?>
</table>
<a href="search.php">Search</a>
<a href="add.php">Add</a>
Return current item: Private address book