"); #debug //受注明細FLG更新 $strsql = "UPDATE `".$company."ordermain` as main ,`".$company."ordersheet` as sheet,`".$company."shohinmaster` AS sm SET sheet.orderid_flg = 11 WHERE main.ordermainid = sheet.ordermainid and sm.shohincd = sheet.shohincd and main.gyotaiid='".$_POST[gyotai]."' and main.centerid='".$centerid."' and main.operatedate =".$excutedate ; $result=@mysql_query($strsql,$my_con); Testecho ("LINE ".__LINE__." ROWS=".mysql_affected_rows()." ".$y." ".$strsql); //debug mysql_sql_log($strsql,mysql_affected_rows(),$_SERVER['SCRIPT_NAME'].":".__LINE__); Testecho ("発注締めが受注明細データに実施されました。".$errcode." ".$strsql."\n
"); #debug ?>