/var/www/hkosl.com/imusiccircle/webadmin/student_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'     => 'Spj_Student_PostJob'// for permission
        
'section'    => 'Master'// parent/page title
        
'subsection' => 'Student Post Job'// page title
        
'domain'     => 'student_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 student_postjob set deleted = 1 , lastupdate=?, lastupby=? where id = ?";
    
$parameters = array($nowdate,$_SESSION['cmsloginid'],$id);
    
bind_pdo($sql$parameters);

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