Skip to content

Commit

Permalink
Really? Use latin1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstrodl committed Mar 19, 2024
1 parent a3baba3 commit 3505f8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/databaseConn.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
global $DATABASE_SERVER, $DATABASE_USER, $DATABASE_PASS, $DATABASE_DB;

$dbConn = new mysqli($DATABASE_SERVER, $DATABASE_USER, $DATABASE_PASS, $DATABASE_DB);
mysqli_set_charset($dbConn, "latin1");

// Error check
if (!$dbConn) {
Expand Down

0 comments on commit 3505f8c

Please sign in to comment.