that would be mysql !i! connect_errno...
This commit is contained in:
parent
b8757fb456
commit
69e2252fd6
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class dba {
|
|||
|
||||
function __construct($server,$user,$pass,$db,$install = false) {
|
||||
$this->db = @new mysqli($server,$user,$pass,$db);
|
||||
if(! mysql_connect_errno()) {
|
||||
if(! mysqli_connect_errno()) {
|
||||
$this->connected = true;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue