You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
422 B

<?php
require_once "../database.php";
$ec_id = isset($_POST['ec_id']) ? $_POST['ec_id'] : die('ERROR: ec_id未找到记录.');
$pcd_id = isset($_POST['pcd_id']) ? $_POST['pcd_id'] : die('ERROR: pcd_id未找到记录.');
$db_query = " update paid_customer_detail set ec_id='$ec_id' WHERE id='$pcd_id'";
mysqli_query($link, $db_query);
//echo $db_query; exit();
header("location: paid_customer_detail.php");
die();