Benim kod mysql veritabanından kayıtları silmek için çalışıyorum ama tarayıcıyı silmeden önce silme devam edip kullanıcı istemi vardır duyuyorum altındadır. Benim sorun benim mantık onun ne olursa olsun kayıt silme çalışmıyor değildir. Herhangi bir yardım takdir edilecektir.
if (isset($_POST['outofqcellchat'])){
?>
<script type ="text/javascript">
var question = confirm("Are you sure you want to unsubscribe\nThis will delete all your facebook information in QCell Facebook");
if(question){
<?php
$delusr = mysql_query("delete from `chat_config` where `phone` = '$phonenumb'");
$row = mysql_num_rows($delusr);
if($row>=1){
header("Location:http://apps.facebook.com/qcellchat");
}
?>
alert("Unsubscribed, You can register again any time you wish\nThank You");
}else {
alert("Thanks for choosing not to unregister \nQCell Expand your world");
}
</script>
<?php
}
?>
Kodumu Thats. Lütfen yardım