This commit is contained in:
Walter Hupfeld
2021-10-17 10:07:21 +02:00
parent 449b1d5a00
commit 4c54b396ac
5 changed files with 30 additions and 27 deletions

View File

@@ -42,16 +42,17 @@
$strYear = " AND UJAHR='".$numYear."' ";
$strSQL="SELECT * FROM Unfallorte_Hamm WHERE ".$strWhere.$strYear;
$strSQL="SELECT * FROM data WHERE ".$strWhere.$strYear.$strLocation;
echo $strSQL;
$result = $db->query($strSQL);
$arrMarker = array();
$arrDescription = array();
$description="";
while ($row = $result->fetchArray()) {
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
//print_r($row);echo "<hr>";
$id = $row[0];
$id = $row['OBJECTID'];
$numLng = $row['XGCSWGS84'];
$numLat = $row['YGCSWGS84'];
if ($row['IstRad']) $description .="mit Fahrradbeteiligung, ";