Location: PHPKode > scripts > Ban Control > Ban Control/ban_control/pass_edit2.php
<?php
require('include/header.php');
$usernameid = $_GET['username'];

//read out the faqs
?>
	
	
	
<table class="table" width="100%" class="table">
	<tr class="table_header">
		<td>Change the password</td>
	</tr>
	<tr class="row1">
		<td>
		<span class="genmed">
<?php
//read out the faqs



echo $question;

$sql = "UPDATE ".$prefix."admin SET password='$_POST[password]' WHERE id=".$usernameid; 
if (!mysql_query($sql,$con))
   {
   die('Error: ' . mysql_error());
   }
 echo "Your password is edited succesfully in the database.";



?>
		</span></td>
	</tr>
</table>

<?php
//end read out the faqs
 

require('include/footer.php');

 ?>
Return current item: Ban Control