<?php
require_once dirname(__FILE__).'/../view/include/define.inc.php';
require_once ROOT.'/view/include/header.inc.php';
$a = new PHPClassManageRowData();
$a->setJsInpuArr($_GET['id']);
if($a->ajaxBackendOperation('delete')){
$b = new PHPClassFormAddressBook();
if(isset($_GET['row_key']) && isset($_GET['row_val'])){
$b->drawAddressBookRows("Addresses", $_GET['row_key'],$_GET['row_val']);
} else {
$b->drawAddressBookRows("Addresses");
}
} else {
echo 'ERROR: DB query failed';
}
?>
|