Aggiunta file db_conf.php
This commit is contained in:
15
db_conf.php
Normal file
15
db_conf.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$host = "127.0.0.1";
|
||||
$username = "root";
|
||||
$password = "ehhhhvoleviiii";
|
||||
$database = "Northwind";
|
||||
|
||||
// Connessione al database
|
||||
$conn = mysqli_connect($host, $username, $password, $database);
|
||||
|
||||
if(!$conn) {
|
||||
die("Connessione fallita: " . mysqli_connect_error());
|
||||
}
|
||||
|
||||
// echo "Connessione riuscita!<br>";
|
||||
?>
|
||||
Reference in New Issue
Block a user