<?php
  require_once '../system/conn.php';

$delete=$conn->query("DELETE FROM `branch` WHERE `id`='".$_GET['id']."'");
if($delete){
     echo "<script>window.location.assign('branch-list.php')</script>";
  }
?>