15 lines
281 B
PHP
15 lines
281 B
PHP
<?php
|
|
|
|
$server = "localhost";
|
|
$user = "felhasznalo";
|
|
$pwd = "password";
|
|
$db = "mozi2";
|
|
|
|
$conn = new mysqli($server, $user, $pwd, $db);
|
|
|
|
if ($conn->connect_errno)
|
|
{
|
|
die("Nem sikerült a kapcsolat kiépítése: " . $conn->connect_error);
|
|
}
|
|
|
|
?>
|