Changement de BDD et tests de cartes

This commit is contained in:
Mysaa
2021-06-06 13:09:24 +02:00
parent 3488323439
commit 66ac4b8973
5 changed files with 108 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<?php
try{
$GLOBALS['bdd'] = new PDO('mysql:host=127.0.0.1;dbname=u890869027_bcom;charset=utf8', 'u890869027', '*******************');
$GLOBALS['bdd'] = new PDO('mysql:host=localhost;dbname=bcom', 'bcom', '*******************');
//$GLOBALS['bdd'] = new PDO('mysql:host=mysql.hostinger.fr;dbname=u890869027_bcom;charset=utf8', 'u890869027_bcom', '*******************');
}catch(Exception $e){
die ('Erreur : ' . $e->getMessage() . "\n");