mysql
This commit is contained in:
@@ -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, ";
|
||||
|
||||
Reference in New Issue
Block a user