|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/jaejoong_X/admin/ |
Upload File : |
<?include $_SERVER['DOCUMENT_ROOT']."/conf/conf_dir.php";?>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?
$query="select * from shop_order where uid <=500 and orderstep=1";
$result= mysql_query($query,$db_con);
while ($row=mysql_fetch_array($result)) {
$qry = Get_dbres("SELECT zip1,zip2 FROM user_profiles where user_id='$row[mbruid]'");
$rows = mysql_fetch_array($qry);
$zipcode= $rows[zip1]."-".$rows[zip2];
$querys = "update shop_order set o_zip ='$zipcode' ,r_zip ='$zipcode' where uid = '$row[uid]'";
//$results = mysql_query($querys, $db_con);
}
?>