From b5283110d210b17c66a68d102e8bbe9171f64d5c Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sun, 25 Jun 2023 14:08:03 -0500 Subject: [PATCH] Created PHP file for database-related functions --- db.inc.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db.inc.php diff --git a/db.inc.php b/db.inc.php new file mode 100644 index 0000000..52ab6c3 --- /dev/null +++ b/db.inc.php @@ -0,0 +1,9 @@ +withPersistentSessions(true)->build(); + $keyspace = 'glink'; + $session = $cluster->connect($keyspace); + + return $session; + } +?>