/var/www/hkosl.com/imusiccircle/webadmin/teacher_postjob_delete.php


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'     => 'Tpj_Teacher_PostJob'// for permission
        
'section'    => 'Master'// parent/page title
        
'subsection' => 'Teacher Post Job'// page title
        
'domain'     => 'teacher_postjob'// table/model name
        
'access'     => 'GNu'// 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 tutor_postjob set deleted = 1 , lastupdate=?, lastupby=? where id = ?";
    
$parameters = array($nowdate,$_SESSION['cmsloginid'],$id);
    
bind_pdo($sql$parameters);

    
header("Location: teacher_postjob_index.php");
?>