engelsystem/default-conf/var_www_includes/config_db.php

9 lines
273 B
PHP
Raw Normal View History

<?php
2011-06-01 18:16:47 +02:00
include ("../include/funktion_db.php");
2011-06-01 18:16:47 +02:00
$con = mysql_connect("localhost", "root", "changeme") or die("connection failed");
$sel = mysql_select_db("tabel") or die(mysql_error());
2011-06-01 18:23:01 +02:00
mysql_query("SET CHARACTER SET utf8;", $con);
mysql_query("SET NAMES 'utf8'", $con);
?>