DB 로그인을 utf8이 아니라 utf8mb4로 변경
This commit is contained in:
1 parent
3ea95da4a6
commit
0f97ae8da9
6 files changed
+8
-21
No files matched your search
+1
-1
@@ -4,7 +4,7 @@ namespace sammo;
|
||||
|
||||
function MYDB_connect($host, $id, $pw) {
|
||||
$conn = mysqli_connect($host, $id, $pw);
|
||||
mysqli_query($conn, 'set names utf8');
|
||||
mysqli_query($conn, 'set names utf8mb4');
|
||||
return $conn;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user