PDO
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user