db config
This commit is contained in:
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…
Reference in New Issue