|
|
@@ -205,7 +205,7 @@ function dig_next($hist_loop,$prev_tbl,$prev_dig,$loop) {
|
|
|
echo "<br> 202 hist loop cnt: <pre> ". count($hist_loop);
|
|
|
print_r($hist_loop);
|
|
|
echo "</pre>";
|
|
|
- echo "<pre>sql";
|
|
|
+ echo "<pre>sql_t";
|
|
|
//print_r($sql);
|
|
|
// echo "<br>sql_t ";
|
|
|
print_r($sql_t);
|
|
|
@@ -213,11 +213,11 @@ function dig_next($hist_loop,$prev_tbl,$prev_dig,$loop) {
|
|
|
|
|
|
if( isset($sql_t)) {
|
|
|
foreach($sql_t as $T => $sql_ext) {
|
|
|
- echo "\n<br>Querying :".$sql_ext ;
|
|
|
+ echo "\n<br>216: Querying :T "$T." ".$sql_ext ;
|
|
|
$res=$db->query($sql_ext) or die('211 blad '.$sql_ext);
|
|
|
while($h=$db->fetch($res)) {
|
|
|
echo "\n<br> #149 found "; print_r($h);
|
|
|
- $hist_loop[$tables['Z'][$T]][]=$h;
|
|
|
+ $hist_loop[$T][]=$h;
|
|
|
|
|
|
// print_r($hist_loop);
|
|
|
|