2024-09-22 12:42:36 +00:00
|
|
|
<?php
|
|
|
|
$db_host = "127.0.0.1";
|
|
|
|
$db_user = "kankys.jr";
|
|
|
|
$db_password = "Heslo123";
|
|
|
|
$db_name = "skola";
|
|
|
|
|
|
|
|
$connection = mysqli_connect($db_host, $db_user, $db_password, $db_name);
|
|
|
|
if (mysqli_connect_error()) {
|
|
|
|
echo mysqli_connect_error();
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "Úspěšné přihlášení do databáze";
|
|
|
|
|
|
|
|
?>
|