DB 로그인을 utf8이 아니라 utf8mb4로 변경
This commit is contained in:
+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