1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php $page_settings = array( 'formid' => 'Approval', // for permission 'section' => 'Master', // parent/page title 'subsection' => 'Message', // page title 'domain' => 'admin_msg', // table/model name 'access' => 'GNr', // for permission ); require_once "check_login.php";
//security_checking("product_detail_modifyform", $data=array("product_id" => (int)$_GET["id"]));
$id = (int)$_GET["id"];
$sql = "update admin_msg set deleted = 1 , lastupdate = ? where id = ?"; $parameters = array($nowdate,$id); bind_pdo($sql, $parameters);
header("Location: admin_msg_index.php"); ?>
|