<?php require_once("PasswordMstr.php"); ?>

<!DOCTYPE html PUBLIC

"-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>Display Address Book</title>

<link rel="stylesheet" href="php_styles.css" type="text/css" />

</head>

<body>

<h2>Current Record in Address Book</h2>

 

<?php

$PersonID = $_GET['UpPersonID'];

$Name = $_GET['UpName'];

$Email = $_GET['UpEmail'];

$Phone = $_GET['UpPhone'];

$Address = $_GET['UpAddress'];

?>

 

<form method="get" action="UpdateARecord.php">

<table frame="border" rules="cols">

<tr><td align="right" valign="top">

<input type="hidden" name="UpdPersonID" value="<?= $PersonID ?>" />

<p>Name <input type="text" name="UpdName" size="60" value="<?= $Name ?>" /></p>

<p>E-Mail <input type="text" name="UpdEmail" size="80" value="<?= $Email ?>" /></p>

<p>Phone <input type="text" name="UpdPhone" size="80" value="<?= $Phone ?>" /></p>

<p>Address <input type="text" name="UpdAddress" size="120" value="<?= $Address ?>" /></p>

</td></tr>

</table>

<p><input type="submit" name="UpdateSubmit" value="Update" />

<input type="reset" /></p>

</form>

 

<p><a href="DisplayRecords.php">Return to display records</a><p>

</body>

</html>