 |
| Main Menu |  |
| Current Scripts |  |
| Additional |  |
| Counter NUKED |  |
People Online: 6
Today's Visitors: 123
Site Visitors: 237,200
Site Hits: 624,881
| |
| Our Partners |  |
|  |
 | 4Admins: Changes on EP-DEV Counter v3.3 |
Anonymous writes "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"
|
|
|
|
| |
| Related Links |  |
| Article Rating |  |
| Options |  |
|
|
| | The comments are owned by the poster. We aren't responsible for their content. |
|
|
|
No Comments Allowed for Anonymous, please register |
|
| 
|