|
|
@@ -87,7 +87,7 @@ $tables['Z']['BI_audit_KRS_company']['rel']['krs']='krs';
|
|
|
function start_dig($tables) {
|
|
|
global $db;
|
|
|
foreach($tables['Y'] as $Y=>$t) {
|
|
|
- $sql='select * from '.$Y.' where ID=12 or ID=19 limit 100' ;
|
|
|
+ $sql='select * from '.$Y.' where ID=12 or ID=19 or 1=1 limit 100' ;
|
|
|
$res=$db->query($sql);
|
|
|
while($h=$db->fetch($res)) {
|
|
|
$hist_loop[$Y][]=$h;
|
|
|
@@ -148,9 +148,9 @@ function dig_next($hist_loop,$prev_tbl,$prev_dig,$loop,$hist_time) {
|
|
|
}
|
|
|
|
|
|
|
|
|
- echo "<br>135:sql_rel_and <pre>";
|
|
|
- print_r($sql_rel_and);
|
|
|
- echo " .EOF</pre>";
|
|
|
+ // echo "<br>135:sql_rel_and <pre>";
|
|
|
+ // print_r($sql_rel_and);
|
|
|
+ // echo " .EOF</pre>";
|
|
|
|
|
|
foreach($sql_rel_and as $T=>$z_rel_and_arr) {
|
|
|
foreach($z_rel_and_arr as $z_rel_and_name=>$z_rel_and_name_col) {
|