本日作業分
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
/image
|
/image
|
||||||
/draft
|
/draft
|
||||||
|
/database.php
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
function
|
||||||
|
set_mysql ($db)
|
||||||
|
{
|
||||||
|
$url = 'localhost';
|
||||||
|
$user = 'root';
|
||||||
|
$pass = '';
|
||||||
|
|
||||||
|
return new mysqli ($url, $user, $pass, $db);
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user