Page MenuHomec4science

sqlConnection.php
No OneTemporary

File Metadata

Created
Thu, Aug 1, 12:13

sqlConnection.php

<?php
//$conn = pg_connect("host=localhost port=5432 dbname=i2b2 user=postgres password=admin");
$conn = pg_connect("host=i2b2-database port=5432 dbname=SHRINE_ONT_DB user=SHRINE_ONT_USER password=SHRINE_ONT_PW");
if (!$conn) {
echo "Error while connecting to the postgres database.";
exit;
}

Event Timeline