[insert_php]
$servername = "db610638503.db.1and1.com";
$username = "dbo610638503";
$password = "Jogi_091064";
$dbname = "db610638503";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT Datum, 18LOpenClosed, 06LOpenClosed FROM my_test_table";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
// output data of each row
while($row = $result->fetch_assoc()) {
echo "Datum: " . $row["Datum"]. " - 18L: " . $row["18LOpenClosed"]. " 6L: " . $row["06LOpenClosed"]. "
"; } } else { echo "0 results"; } [/insert_php]
"; } } else { echo "0 results"; } [/insert_php]