added sql debugging

This commit is contained in:
Frank Schubert
2022-02-15 21:34:18 +01:00
parent 20b3f00496
commit dd6f171ee1
2 changed files with 6 additions and 3 deletions

View File

@@ -148,8 +148,10 @@
<th>Spleiß Kunde</th>
<th>Fertig</th>
</tr>
<?php $bcount = 0; foreach($terminations as $term): ?>
<?php if($bcount > 0): ?>
<?php $bcount = 0;
foreach($terminations as $term): ?>
<?php if($bcount > 0): ?>
<tr id="termination-<?=$term->id?>-top-header" class="hidden">
<th>Anschluss</th>
<th>Baustatus</th>

View File

@@ -62,7 +62,8 @@ class FronkDB {
}
if(FRONKDB_SQLDEBUG==true) {
echo "$sql\n";
$this->log->debug("[FronkDB] $sql");
//echo "$sql\n";
}
if($this->result=mysqli_query($this->link,$sql)) {