mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-12-22 17:42:40 +00:00
Blank dbsettings file just makes it all easier :3
This commit is contained in:
parent
17f11a005c
commit
ca4d33af63
12
img/dbsettings.php
Normal file
12
img/dbsettings.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
//This is for all login requests to mysql
|
||||
$host="localhost"; // Host name
|
||||
$username=""; // Mysql username
|
||||
$password=""; // Mysql password
|
||||
$db_name=""; // Database name
|
||||
$tbl_name=""; // Table name
|
||||
|
||||
// Connect to server and select database.
|
||||
mysql_connect("$host", "$username", "$password")or die("Unable to connect to database server - check dbsettings.php");
|
||||
mysql_select_db("$db_name")or die("Unable to connect to database - check dbsettings.php");
|
||||
?>
|
Loading…
Reference in New Issue
Block a user