javais zapper beaucoup de truc...
This commit is contained in:
16
WEBBE/cinema/src/modeles/modeleFilms.php
Normal file
16
WEBBE/cinema/src/modeles/modeleFilms.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
function _getConnection()
|
||||
{
|
||||
static $_conn = NULL;
|
||||
if ($_conn === NULL){
|
||||
$_conn = mysqli_connect("localhost","","","");
|
||||
}
|
||||
return $_conn;
|
||||
}
|
||||
|
||||
|
||||
function getFilms()
|
||||
{
|
||||
// A completer
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user