aktuelle.kurse/old_m133/Modul_Unterlagen_133_VOR/01-Modulinhalte/10 DB Verbindumg/02 Muster_PDO/include/db.inc.php
Müller Harald 507e5da390 muh
2022-05-13 11:53:50 +02:00

12 lines
142 B
PHP

<?php
try
{
$dbconnection = new PDO($dsn, $user, $password);
} catch(PDOException $e)
{
die('Verbindungsfehler: '.$e->getMessage());
}
?>