10 lines
144 B
PHP
10 lines
144 B
PHP
|
<?php
|
||
|
|
||
|
function initDatabase() {
|
||
|
$db = mysqli_connect(host,database,login,password);
|
||
|
if(!$db){
|
||
|
echo "erreur connexion";}
|
||
|
return $db;
|
||
|
}
|
||
|
|