Browse Source

本日作業分

KEKEC_BBS_DEV-001
みてるぞ 1 year ago
parent
commit
50996316e5
2 changed files with 13 additions and 0 deletions
  1. +1
    -0
      .gitignore
  2. +12
    -0
      database.example.php

+ 1
- 0
.gitignore View File

@@ -1,3 +1,4 @@
/image
/draft
/database.php


+ 12
- 0
database.example.php View File

@@ -0,0 +1,12 @@
<?php

function
set_mysql ($db)
{
$url = 'localhost';
$user = 'root';
$pass = '';

return new mysqli ($url, $user, $pass, $db);
}


Loading…
Cancel
Save