Location: PHPKode > projects > Attendance Management System > Attendance Management System/attendance/include/config.php
<?php
//$connection = mysql_connect("localhost", "root", "");
//$db = mysql_select_db("attendance", $connection);

$dbhost = 'localhost';
$dbuser = 'root';
$dbname = 'attendance';

$conn = mysql_connect($dbhost, $dbuser) or die ('Error connecting to mysql');
mysql_select_db($dbname);
?>
Return current item: Attendance Management System