Backend/SQL_Feladat_AdatB/config.php

15 lines
269 B
PHP
Raw Normal View History

2024-12-04 07:50:06 +00:00
<?php
$server = "localhost";
$user = "root";
$pwd = "";
$db = "uszoegyesulet";
$conn = new mysqli($server,$user,$pwd,$db);
if ($conn->connect_errno)
{
die("Nem sikerült a kapcsolat kiépítése: ".$conn->connect_error);
}
?>