tp3
This commit is contained in:
@@ -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