✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Que peut-on dire sur le script PHP suivant ?
try {
$BD = new PDO("mysql:host=".BD_HOST.";dbname=".BD_BASE.";charset=UTF8", BD_USER, BD_PASSWORD);
} catch(Exception $e) {
echo "<p> Problème de connexion à la base de données. </p>";
die();
}