Location: PHPKode > scripts > Ban Control > Ban Control/ban_control/pass_edit1.php
<?php
require('include/header.php');
$usernameid = $_GET['username'];
$result = mysql_query("SELECT * FROM ".$prefix."admin WHERE username = 'admin' ORDER BY id");

while($row = mysql_fetch_array($result)) {
$username = $row['username'];
$password = $row['password'];


//read out the faqs
?>



<form action="pass_edit2.php?username=<?php echo $usernameid; ?>" method="post">
<table class="table" width="100%" class="table">
	<tr class="table_header">
		<td colspan="3">Edit the password</td>
	</tr>
	<tr class="row1">
		<td width="120">
		Password: </td>
		<td>
		<br>
		<input type="password" name="password" size="20" value="<?php echo $password; ?>" /><br>
&nbsp;</td>
		<td width="75%">
 <input type="submit" value="Edit Password" /></td>
	</tr>
	</table>
</form>

<?php
//end read out the faqs

}

require('include/footer.php');

?>
Return current item: Ban Control