/var/www/hkosl.com/innoutstorage/webadmin/master_room_delete.php


1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
    
require_once('check_login.php');

    
$master_room_id = (int)$_GET["master_room_id"];

    
// Delete db
    
$sql "update master_room set deleted = ? WHERE id=?";
    
$parameters = array("1"$master_room_id);
    
bind_pdo($sql$parameters);

    
$dbh null;

    
header("Location: master_room_index.php?msg=刪除成功");