1
0
Fork 0

that would be mysql !i! connect_errno...

This commit is contained in:
Friendika 2011-03-03 15:47:13 -08:00
parent b8757fb456
commit 69e2252fd6

View file

@ -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 {