Skip to content

Commit

Permalink
Update connect.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Freecey committed Dec 14, 2020
1 parent 0dd6797 commit 8701b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/connect.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
//connect.php
try
{
$conn = new PDO('mysql:host=db.bbs-queen.neant.be; port=33060; dbname=BCBB', 'bcbb-site', 'BCBB0pwdSITE--',
$conn = new PDO('mysql:host=HOSTNAME; port=XXXX; dbname=DATABASE', 'USERNAME', 'PASSWORD',
array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));

}
catch (Exception $e)
{
die('Erreur : ' .$e->connect_error);
}
?>
?>

0 comments on commit 8701b90

Please sign in to comment.