LPDLIS/tp-bd-files/webapp/db.inc.php

10 lines
198 B
PHP
Raw Permalink Normal View History

2023-01-04 15:13:50 +01:00
<?php
$logindb = 'www';
$passworddb = 'foo';
$dbconn = pg_connect("host=postgres dbname=clientsdb user=$logindb password=$passworddb")
or die('Connexion impossible : ' . pg_last_error());
?>