datatable

This commit is contained in:
Walter Hupfeld
2024-02-20 22:18:50 +01:00
parent 54f14b1d8b
commit 1c36f67189
2 changed files with 20 additions and 15 deletions

View File

@@ -6,6 +6,7 @@
* E-Mail: info@hupfeld-software.de
* Version: 1.1
* Datum: 18.02.2024
* zuletzt bearbeitet: 20.02.2024
******************************** */
require_once("config.db.php");
@@ -81,7 +82,7 @@ $result= $db->prepare("SELECT count(*) FROM district WHERE district=:district");
$result->bindParam(":district",$strDistrict);
$result->execute();
if ($row=$result->fetch(PDO::FETCH_NUM)) {
if ($row[0]==0) $strDistrict="hamm";
if ($row[0]==0) $strDistrict=""; //default setzten
}
// Spezifische Konfiguration für Districtt