added styles for tables

This commit is contained in:
2022-06-07 10:20:06 +02:00
parent 7c13d2a8e9
commit 430eaa8586
5 changed files with 43 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
<?php
function get_Station() {
try {
$dbh = new PDO('mysql:host=mysql;dbname=ksp', 'grisu', 'secret');
foreach($dbh->query('SELECT * from Station') as $row) {
print_r($row);
}
$dbh = null;
} catch(PDOException $e) {
print "Error!: " . $e->getMessage() . "<br/>";
die();
}
}
?>