This commit is contained in:
Théo 2019-02-18 16:37:50 +01:00
parent 757d9a4e0b
commit a8b096039e
2 changed files with 14 additions and 4 deletions

View File

@ -179,7 +179,12 @@ h2{
font-size: 20px; font-size: 20px;
color: white; color: white;
} }
.test2{
padding-left: 27px;
padding-right: 27px;
margin-top: 100px;
text-align: center;
}
.content-homediv{ .content-homediv{
padding: 0; padding: 0;
} }
@ -469,6 +474,7 @@ input {outline: none}
.test1{ .test1{
margin-top: 30px; margin-top: 30px;
} }
.articleHome2{ .articleHome2{
margin-top:30px; margin-top:30px;
} }

View File

@ -11,10 +11,10 @@ function endsWith($haystack, $needle) {
} }
function connect() { function connect() {
$host = "127.0.0.1"; $host = "localhost";
$db = "blog"; $db = "blog";
$user = "blog"; $user = "root";
$pass = "blog"; $pass = "root";
$charset="utf8mb4"; $charset="utf8mb4";
$dsn = "mysql:host=$host;dbname=$db;charset=$charset"; $dsn = "mysql:host=$host;dbname=$db;charset=$charset";
@ -25,3 +25,7 @@ function connect() {
} }
return $pdo; return $pdo;
} }
function getBDD() {
}