This commit is contained in:
Walter Hupfeld
2024-02-17 08:42:54 +01:00
parent 0df6729f8b
commit 91a8c4e567
14 changed files with 42 additions and 59 deletions

View File

@@ -4,15 +4,16 @@
* Ideenmelder
* Autor: Walter Hupfeld, Hamm
* E-Mail: info@hupfeld-software.de
* Version: 1.0
* Datum: 18.05.2021
* Version: 2.0
* Datum: 16.02.2024
******************************** */
if (!file_exists("db/locations.db")) {
header("Location: setup.php");
}
require("config.php");
require("config.db.php");
require("config.php");
require_once("lib/functions.php");
$ref=(isset($_GET['ref']) && ($_GET['ref']==1));
@@ -32,7 +33,7 @@
$arrMarker = array();
$arrDescription = array();
while ($row = $result->fetchArray()) {
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
$id=$row['id'];
$topic = $row['topic'];
$numLng = $row['lng'];