db config

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

@ -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";
?>

Loading…
Cancel
Save