I changed my mind
This commit is contained in:
24
blomzt/main.php
Normal file
24
blomzt/main.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
$config = include('config.php');
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>CSGO skin database</title>
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
$con = mysqli_connect($config.db_host, $config.db_username, $config.db_password);
|
||||
|
||||
if ($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
|
||||
echo "Connection succeded";
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user