diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-06-01 18:23:01 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-06-01 18:23:01 +0200 |
commit | 0ee418ffa2e47f17ab7d4f7d74192e091eef4d50 (patch) | |
tree | 13e26e90d76e97b85d61598f7c817af254090982 /default-conf/var_www_includes/config_db.php | |
parent | 208c76fcb2f597d22d4339227b88099f91305522 (diff) |
mysql utf-8
Diffstat (limited to 'default-conf/var_www_includes/config_db.php')
-rw-r--r-- | default-conf/var_www_includes/config_db.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/default-conf/var_www_includes/config_db.php b/default-conf/var_www_includes/config_db.php index 428a9339..a90e012e 100644 --- a/default-conf/var_www_includes/config_db.php +++ b/default-conf/var_www_includes/config_db.php @@ -3,6 +3,6 @@ include ("../include/funktion_db.php"); $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); +mysql_query("SET CHARACTER SET utf8;", $con); +mysql_query("SET NAMES 'utf8'", $con); ?> |