db config

main
Philip Häusler 14 years ago
parent 0d351f4791
commit b16d0abb6e

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

Loading…
Cancel
Save