Closed BenjiWeber closed 9 years ago
I don't want to end up breaking any of your existing usage of this function, but this is how you would fix it if we were using mysqli instead...
$conn = @new mysqli('localhost', 'root', '', 'sysc4504'); //@ suppresses warning output if ($conn->connect_error) //connect_error
The database class blows up if you do the following:
$db = @new Database(); //Run this will the mysql process is OFF $db->getError();