forked from server/landingpage
Set charset in database connection setup
This commit is contained in:
parent
f8bfcc8ec4
commit
c338bd1b07
@ -5,5 +5,7 @@ if ($mysqli->connect_errno){
|
||||
echo "Errno: " . $mysqli->connect_errno . "\n";
|
||||
echo "Error: " . $mysqli->connect_error . "\n";
|
||||
exit;
|
||||
} else {
|
||||
$mysqli->set_charset("iso-8859-1");
|
||||
}
|
||||
?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user