This commit is contained in:
Adrien
2019-02-04 15:15:07 +01:00
parent 08884533fa
commit 7ef1dda051
7 changed files with 68 additions and 29 deletions

View File

@ -13,8 +13,8 @@ function endsWith($haystack, $needle) {
function connect() {
$host = "127.0.0.1";
$db = "blog";
$user = "username";
$pass = "motdepasse";
$user = "root";
$pass = "root";
$charset="utf8mb4";
$dsn = "mysql:host=$host;dbname=$db;charset=$charset";