diff --git a/db.php b/db.php
new file mode 100644
index 0000000000000000000000000000000000000000..601782251d33fcbae10c09caa4e9f190461a27f0
--- /dev/null
+++ b/db.php
@@ -0,0 +1,9 @@
+<?php
+
+
+function getDBConnection()
+{
+    return pg_connect("host=postgres port=5432 dbname=pg user=postgres password=pgpg");
+}
+
+?>
\ No newline at end of file