"; return; } include '../config/config.inc.php'; $data = new Config(); // Create connection $conn = new mysqli($data->getSQLHost(), $data->getSQLUser(), $data->getSQLPassword(), $data->getSQLDatabase()); mysqli_set_charset($conn, "utf8"); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $result = $conn->query("SELECT * FROM `feuerwehr_pi`"); include("include/header.php");?>
  • Belarus
  • num_rows > 0) { // output data of each row while ($row = $result->fetch_assoc()) { echo("
  • ". $row['Ort'] ."
  • "); } } ?>