Web/TP/TPSecurite/lib/common.php
2023-05-25 11:53:03 +02:00

10 lines
144 B
PHP
Executable File

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