upgraded mysql connection charset to utf8mb4
This commit is contained in:
@@ -45,9 +45,9 @@ class FronkDB {
|
||||
}
|
||||
mysqli_select_db($this->link,$this->db) or die("Error connecting to database...".mysqli_error($this->link));
|
||||
if(function_exists("mysqli_set_charset")) {
|
||||
mysqli_set_charset($this->link,'utf8');
|
||||
mysqli_set_charset($this->link,'utf8mb4');
|
||||
} else {
|
||||
$this->query("SET NAMES utf8");
|
||||
$this->query("SET NAMES utf8mb4");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user