|
|
@@ -285,6 +285,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time) {
|
|
|
while($h=$db->fetch($res)) {
|
|
|
echo "\n<br> #149 found ";// print_r($h);
|
|
|
$hist_loop[$T][]=$h;
|
|
|
+ $hist_time[][$T]=$sql_ext;
|
|
|
$hist_time[][$T]=$h;
|
|
|
// print_r($hist_loop);
|
|
|
|
|
|
@@ -299,6 +300,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time) {
|
|
|
echo "<br>#159 ref tbl ".$sql_rel_rec;
|
|
|
while($h_rel_rec=$db->fetch($res_rel_rec)){
|
|
|
$hist_loop[$ref_table][]=$h_rel_rec;
|
|
|
+ $hist_time[][$ref_table]=$sql_rel_rec;
|
|
|
$hist_time[][$ref_table]=$h_rel_rec;
|
|
|
dig_next($hist_loop,$tables['Z'][$ref_table],$h_rel_rec,$loop,$hist_time);
|
|
|
}
|