
Changes on EP-DEV Counter v3.3
Date: Wednesday, November 05 @ 17:32:14 EST Topic: EP-Dev
No error display when using MYSQL dbase if ever you got some problems accessing it. I let the die() just in case i want to remove the "@".
File : /stats/mysql_db.php
=================
function Main_Database() {
global $DB;
$this->cn = @mysql_connect($DB['host'],$DB['username'],$DB['password']) or die(Go_Error(mysql_errno()));
$this->db = @mysql_select_db($DB['name'], $this->cn) or die(Go_Error(mysql_errno()));
}
function query($sql) {
$return = @mysql_query($sql, $this->cn) or die(Go_Error(mysql_errno()));
return $return;
}
====================
At line 25-41...
Regards,
David
|
|