genderwatchprotocol/databaseConnection/databaseConnection.php

10 lines
333 B
PHP

<?php
function getDatabaseConnection() {
$databaseAddress = "127.0.0.1";
$databasePort = "3306";
$databaseName = "u517357132_genderwatchpro";
$databaseUser = "u517357132_genderwatchpro";
$databasePassword = "zU!7gRHA6x";
return new mysqli($databaseAddress, $databaseUser, $databasePassword, $databaseName);
}