We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e3869a + cec986a commit cb69b31Copy full SHA for cb69b31
class.DBPDO.php
@@ -19,7 +19,7 @@ function prep_query($query){
19
function connect(){
20
if(!$this->pdo){
21
22
- $dsn = 'mysql:dbname=' . DATABASE_NAME . ';host=' . DATABASE_HOST;
+ $dsn = 'mysql:dbname=' . DATABASE_NAME . ';host=' . DATABASE_HOST.';charset=utf8';
23
$user = DATABASE_USER;
24
$password = DATABASE_PASS;
25
0 commit comments