예제 #1
0
<?php

error_reporting(E_ERROR | E_PARSE);
include '../../helper/db_connect.php';
connect_database();
$id = $_GET["id"];
$organization_id = $_GET["organization_id"];
del_organization($id, $organization_id);
header('Location:' . $_SERVER['HTTP_REFERER']);
?>

예제 #2
0
function del_old_organization($id)
{
    $organizationAddrs = get_person_organization_all($id);
    while ($organizationAddr = mysql_fetch_assoc($organizationAddrs)) {
        del_organization($id, $organizationAddr['ORGANIZATION_ID']);
        set_updatetime($id);
    }
}