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

include '../ayar.php';

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

$sql1 = "DELETE FROM `$dbadi`.`ticket` WHERE `ticket`.`id` = $idcek;";
$sql2 = "DELETE FROM `$dbadi`.`ticketre` WHERE `ticketre`.`ticketid` = $idcek;";

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