
PK 
<?php
include("connexion.php");
include("head.php");
?>
<h2 id="icon_pick"><a href="managelogins.php" class="titletext">Manage Accounts & Logins</a> >> Manage Logins</h2>
<table width="100%" border="4" cellpadding="8" cellspacing="1">
<?php
$sql="SELECT * FROM amembs WHERE id='$_GET[id]'";
$result=mysql_query($sql) or die ('error');
while($row=mysql_fetch_array($result))
{
?>
<tr>
<td bgcolor="#FFFFFF" colspan="2" class="white"><img src="../img/uplog.gif" align="middle">
Update this Account details as you want to and provide
the username and password to update this Account login.</td>
</tr>
<form action="updatelinkins.php" method="post">
<input type="hidden" name="id" value="<?php echo"{$row['id']}";?>">
<tr>
<td><strong>Username:</strong>
<input type="text" name="user" value="<?php echo"{$row['user']}";?>"></td>
<td><strong>Name : </strong><select name="prefix"><option>Mr</option><option>Ms</option></select>
<input type="text" name="name" value="<?php echo"{$row['name']}";?> "></td>
</tr>
<tr>
<td><strong>Question:</strong>
<select name="fpques">
<option>What is your pet's name?</option>
<option>What is your secret 4 digit Code?</option>
<option>What is the place you were born at?</option>
<option>What is your favorite passtime?</option>
<option>What is your all-time favorite sports team?</option>
<option>Where did you first meet your spouse?</option>
</select>
</td>
<td><strong>Answer:</strong>
<input type="text" name="fpans" value="<?php echo"{$row['fpans']}";?>"></td>
</tr>
<tr><td align="center" colspan="2"><em>CHANGE PASSWORD</em></td></tr>
<tr>
<td><strong>Password : </strong>
<input type="password" name="pass"></td>
<td><strong>Confirm:</strong>
<input type="password" name="cpass"></td>
</tr>
<tr>
<td align="center" colspan="2"><input type="submit" value="update this account"></td>
</tr>
</td></tr>
</form>
</table>
</div>
</div>
<?php
}
include("foot.php");
?>


PK 99