diff options
Diffstat (limited to 'default-conf/var_www_includes')
-rw-r--r-- | default-conf/var_www_includes/config_db.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/default-conf/var_www_includes/config_db.php b/default-conf/var_www_includes/config_db.php index b49e5e0c..428a9339 100644 --- a/default-conf/var_www_includes/config_db.php +++ b/default-conf/var_www_includes/config_db.php @@ -1,6 +1,8 @@ <?php -include("../include/funktion_db.php"); +include ("../include/funktion_db.php"); -$con = mysql_connect("localhost", "root", "changeme") or die ("connection failed"); -$sel = mysql_select_db("tabel") or die (mysql_error()); +$con = mysql_connect("localhost", "root", "changeme") or die("connection failed"); +$sel = mysql_select_db("tabel") or die(mysql_error()); +mysql_query("SET CHARACTER SET utf8;", $sql_connection); +mysql_query("SET NAMES 'utf8'", $sql_connection); ?> |