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

include '../ayar.php';

$idcek = $_GET['bbid']+0;

if(empty($idcek))
{
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($idcek);

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

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