Web/TPSecurite/lib/common.php

10 lines
144 B
PHP
Raw Normal View History

2023-05-25 11:50:30 +02:00
<?php
function initDatabase() {
$db = mysqli_connect(host,database,login,password);
if(!$db){
echo "erreur connexion";}
return $db;
}