Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocean007 committed Nov 27, 2011
1 parent 14c7b14 commit 72c0fb1
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions README
@@ -1,22 +1,3 @@
<?php
include 'config.php';
$user = $_POST["user"];
mysql_connect("$host", "$username", "$password");
mysql_select_db("$db_name");

$sql = mysql_query("SELECT * FROM `Book` WHERE `Owner` = '$user' ");
while($row = mysql_fetch_array($sql)){
$var1 = $row["one"];
$var2 = $row["two"];
$var3 = $row["three"];
$var4 = $row["four"];
}
?>
<html>
<head id="Contacts">
<p id="P1"> <?php echo $var1 ?> </p>
<p id="P1"> <?php echo $var2 ?> </p>
<p id="P1"> <?php echo $var3 ?> </p>
<p id="P1"> <?php echo $var4 ?> </p>
</head>
</html>
hi there

this is a very simple simple simple version of the adress book which is hopefully going to be used in AnonPM

0 comments on commit 72c0fb1

Please sign in to comment.