1 2 3 4 5 6 7 8 9
<?php $conn = new PDO("pgsql:dbname=contractdashboard;user=postgres;password=snmc;host=localhost"); #$conn = new PDO("pgsql:dbname=contractdashboard;user=alex;host=localhost"); if (!$conn) { die("A database error occurred.\n"); }