db config

This commit is contained in:
Philip Häusler 2011-06-02 16:59:18 +02:00
parent 0d351f4791
commit b16d0abb6e
1 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,9 @@
<?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());
mysql_query("SET CHARACTER SET utf8;", $con);
mysql_query("SET NAMES 'utf8'", $con);
// MySQL-Connection Settings
$config['host'] = "localhost";
$config['user'] = "root";
$config['pw'] = "";
$config['db'] = "engelsystem";
?>