18 lines
314 B
PHP
18 lines
314 B
PHP
<?
|
|
//phpinfo();
|
|
$servername = "db";
|
|
$username = 'kalskeborec';
|
|
$password = 'kalskeborec!#@$$';
|
|
|
|
// Create connection
|
|
$conn = new mysqli($servername, $username, $password);
|
|
|
|
// Check connection
|
|
if ($conn->connect_error) {
|
|
die("Connection failed: " . $conn->connect_error);
|
|
}
|
|
//echo "Connected successfully";
|
|
|
|
|
|
?>
|