/var/www/hkosl.com/innoutstorage/webadmin/payment_modify.php


1
2
3
4
5
6
7
8
9
10
11
12
<?php
    
require_once("check_login.php");

    
$sql "update payment set remark = ?, lastupdate = ?, lastupby = ? where id = ?";
    
$parameters = array($_POST["remark"], (int)$_POST["payment_id"], $nowdate$_SESSION['cmsloginid']);
    
$result bind_pdo($sql$parameters);

    
header("Location: payment_modifyform.php?id=".(int)$_POST["payment_id"]."&type=".$_POST["type"]);
    exit;