Backend óra (2024. 11. 25.)
This commit is contained in:
13
Suli/13.b/Backend/2024. 11. 25/config.php
Normal file
13
Suli/13.b/Backend/2024. 11. 25/config.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$server = "localhost";
|
||||
$user = "root";
|
||||
$pwd = "";
|
||||
$db = "13b2";
|
||||
|
||||
$conn = new mysqli($server, $user, $pwd, $db);
|
||||
|
||||
if ($conn -> connect_errno) {
|
||||
die("Nem sikerült a kapcsolat kiépítése: ".$conn -> connect_error);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user