|
@@ -244,7 +244,7 @@ function sql($hist_loop,$prev_tbl,$prev_dig,$loop,$hist_time,$last_tbl,$path,$ta
|
|
|
$sql_t[$T].=$sql_t_str[$T]." ) ";
|
|
$sql_t[$T].=$sql_t_str[$T]." ) ";
|
|
|
//not loop
|
|
//not loop
|
|
|
if( isset($hist_loop[$table_class][$T]) ) {
|
|
if( isset($hist_loop[$table_class][$T]) ) {
|
|
|
- echo "<br> hist loop cnt: ". count($hist_loop[$T]);
|
|
|
|
|
|
|
+ // echo "<br> hist loop cnt: ". count($hist_loop[$table_class][$T]);
|
|
|
foreach($hist_loop[$table_class][$T] as $hist_rec) {
|
|
foreach($hist_loop[$table_class][$T] as $hist_rec) {
|
|
|
$sql_t[$T].=" and ID!='".$hist_rec->ID."' ";
|
|
$sql_t[$T].=" and ID!='".$hist_rec->ID."' ";
|
|
|
}
|
|
}
|