Direktori : /home/athamevents/public_html/admin/ |
Current File : /home/athamevents/public_html/admin/lives_delete.php |
<?php include 'connection.php'; ?> <?php $id=$_REQUEST["pp1"]; ?> <input type="hidden" name="pi" id="pi" value="<?php echo $id; ?>"/> <?php $delete=mysql_query("DELETE FROM nowlive WHERE id='$id'"); if($delete) { ?> <script> alert("Delete Live Stream Video"); window.location.href="all_lives.php"; </script> <?php } else { ?> <script> alert("Procee not complete"); var cn=<?php echo $id ?>; window.location.href="lives_view.php?pp1="+ cn; </script> <?php } ?>