Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
http://###.at/adressen/fetch_data.php?voller_name=Danner&addresse=Palfau&tel=0664810&mobil=465231&www=www.fsde.at&mail=fdsfdsdf&lat=5454&lng=543543&kategorie=Gasthaus
<br />
<b>Notice</b>: Undefined variable: output in <b>/home/strabags/public_html/adressen/fetch_data.php</b> on line <b>50</b><br />
null
$query = "SELECT * FROM markers WHERE voller_name LIKE :voller_name AND addresse LIKE :addresse AND mobil LIKE :mobil AND tel LIKE :tel AND mail LIKE :mail AND www LIKE :www AND lat LIKE :lat AND lng LIKE :lng AND kategorie LIKE :kategorie ORDER BY id DESC";
$statement = $connect->prepare($query);
$statement->execute($data);
var_dump($statement->errorInfo());
$result = $statement->fetchAll();
var_dump($result); // <-- hier
$output = array();
foreach ($result as $row) {
$output[] = array(
'id' => $row['id'],
'voller_name' => $row['voller_name'],
'addresse' => $row['addresse'],
'mobil' => $row['mobil'],
'tel' => $row['tel'],
'mail' => $row['mail'],
'www' => $row['www'],
'lat' => $row['lat'],
'lng' => $row['lng'],
'kategorie' => $row['kategorie'],
);
}
header("Content-Type: application/json");
echo json_encode($output);
}
Resource interpreted as Document but transferred with MIME Type application/json: "http://###.at/adressen/fetch_data.php?voller_name=&addresse=&tel=&mobil=&www=&mail=&lat=&lng=&kategorie="