Hey I need this file for one of my index pages to run but when I enter my database info it doesn't work :S
I've put the database user and password as host and changeme due to me not wanting the database info being leakedPHP Code:if ($sql_mode==2) {
$crishn = pg_connect("$localhost","5432","$sql_data");
} else if ($sql_mode==3) {
$crishn = mssql_connect($host, $sql_user, $changeme);
$crashn = mssql_select_db($sql_data);
} else if ($sql_mode==4) {
$crishn = odbc_connect($sql_data, $host, $changeme);
} else {
$crishn = mysql_connect($localhost, $host, $changeme);
$crashn = mysql_select_db($host);
}
And yes when I put in the correct database info it is the correct info.
+REP to whoever helps


And yes when I put in the correct database info it is the correct info.
Reply With Quote


lol.
See I built it so if they have the wrong information it says: You need to edit varfunctions.php with the correct database information! 
