blob: 2043b87e9614b75a32eb24fa7dec6a3f699b96c5 [file] [log] [blame]
Adrià Vilanova Martínez13cf0cd2022-11-20 01:02:20 +01001<?php
2require_once(dirname(__FILE__)."/../credentials.php");
3
4// Create connection
5$credentials = new Credentials();
6$conn = new mysqli($credentials->servername, $credentials->username, $credentials->password, $credentials->dbname);
7
8if ($conn->connect_error) die("Connection failed: " . $conn->connect_error);
9$conn->set_charset("utf8");