summaryrefslogtreecommitdiff
path: root/default-conf/var_www_includes/config_db.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-01 18:16:47 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-01 18:16:47 +0200
commit208c76fcb2f597d22d4339227b88099f91305522 (patch)
tree0e1f4a8612d7a95887abbbc404749ffb5d9b0f07 /default-conf/var_www_includes/config_db.php
parent54aa90e6414b2e23d02915495b66d64e8ba6e286 (diff)
html5, css rewrite
Diffstat (limited to 'default-conf/var_www_includes/config_db.php')
-rw-r--r--default-conf/var_www_includes/config_db.php8
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);
?>