LPCyber/tp5-files/webapp/db.inc.php

10 lines
198 B
PHP
Raw Normal View History

2022-03-24 08:31:23 +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());
?>