forked from CollinsKarani/Gatepass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
connection.php
26 lines (18 loc) · 888 Bytes
/
connection.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
$install = 'install.php';
// Type Your Company Name Here
$company_name = "Industronics Engineering";
// Type Your Database Information
$hostname_connection = ""; // MySql Host For Example localhost
$database_connection = "oneapple_gpms"; // Database Name
$username_connection = "root"; // Database User Name
$password_connection = ""; // Database Password
$tbl = "gpms_";
// Do Not change any thing after this Line
//--------------------------------------------------------------------------
define('DB_HOST', $hostname_connection);
define('DB_DATABASE', $database_connection);
define('DB_USER', $username_connection);
define('DB_PASSWORD', $password_connection);
$connection = mysql_connect($hostname_connection, $username_connection, $password_connection) or trigger_error(mysql_error(),E_USER_ERROR);
?>