Location: PHPKode > projects > MythPHP > MythPHPv1.0/www/admin/bankbilsil.php
<?php include 'header.php'; ?>
<div align="center">
<?php

include '../ayar.php';

$silbank = $_GET['bhid']+0;

if(empty($silbank))
{
echo '<img src="img/cancel.png" id="hata" alt="hata" width="16" height="16" /> <b>Kritik Hata:</b> ID Bilgisi Alýnamýyor!<br />';
}

$idcekdb = mysql_real_escape_string($silbank);

$sql = "DELETE FROM `$dbadi`.`bankabilgi` WHERE `bankabilgi`.`id` = $idcekdb;";

if(mysql_query($sql)){
echo '<img src="img/meklendi.png" id="eklendi" alt="eklendi" width="48" height="48" /><br /> <h2>Banka Hesabý Baþarýyla Silindi.</h2> <br />';
}else{
echo '<img src="img/meklenemedi.png" id="eklendi" alt="eklendi" width="48" height="48" /><br /> <h2>Banka Hesabý Silinemedi.</h2> <br />';
echo mysql_error();
}
?>
</div>
<?php include 'footer.php'; ?>
Return current item: MythPHP