관리-도구
편집 파일: update-step2reg.php
<?php error_reporting(0); include("clogin/common/config.php"); $self=$_POST['self']; $fulladdress=$_POST['fulladdress']; $country=$_POST['country']; $district=$_POST['district']; $state=$_POST['state']; $income=$_POST['income']; $edate = date("Y/m/d"); $flag = $_REQUEST[flag]; /***********************************/ $uid= $_POST[uid]; $query_update=sprintf("UPDATE reg SET fulladdress='$fulladdress', country='$country', district='$district', state='$state', income='%s' where id='%d' ", $income,$uid); $result = $conn->query($query_update); header("Location:step2-profile.php?id=$uid&flag=up"); exit; ?>