added styles for tables
This commit is contained in:
@@ -1 +0,0 @@
|
||||
<?php
|
||||
@@ -44,4 +44,26 @@ h1 {
|
||||
|
||||
h1 span{
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
div.table-div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div.table-div table{
|
||||
table-layout: flex;
|
||||
display: block;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
div.table-div th,td {
|
||||
border: 1px solid;
|
||||
padding-left: 2.5vw;
|
||||
padding-right: 2.5vw;
|
||||
padding-bottom: 0.5vw;
|
||||
}
|
||||
@@ -11,8 +11,8 @@
|
||||
<header>
|
||||
<section>
|
||||
<div id="logo">
|
||||
<img src="Bilder/Jugendfeuerwehr-Altdorf.gif" alt="">
|
||||
Punktesystem-KSP</div>
|
||||
Punktesystem-KSP
|
||||
</div>
|
||||
<nav>
|
||||
<a href="index.php">Home</a>
|
||||
<a href="mannschaft.php">Mannschaftsverwaltung</a>
|
||||
|
||||
16
app/scripts/database_queries.php
Normal file
16
app/scripts/database_queries.php
Normal 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();
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user