1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-05 09:54:13 +02:00

Collect emails

This commit is contained in:
Yohann D'ANELLO
2020-04-13 00:35:22 +02:00
parent 45426e6835
commit a86bc3f124
5 changed files with 62 additions and 0 deletions

View File

@ -17,6 +17,7 @@ $DB_NAME = getenv("TFJM_DB_NAME");
$DB_USER = getenv("TFJM_DB_USER");
$DB_PASSWORD = getenv("TFJM_DB_PASSWORD");
try {
$DB = new PDO("mysql:host=$DB_HOST;dbname=$DB_NAME;charset=utf8", "$DB_USER", "$DB_PASSWORD", array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));
}