mysqli: We are using procedural mysqli so use mysqli_connect_error() instead of mysqli_error()

This commit is contained in:
Jonathan Bither 2013-05-30 10:45:47 -04:00
parent 2457679aed
commit fbe135fb36
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class Db_Mysqli implements IDb {
return $this->link; return $this->link;
} else { } else {
die("Unable to connect to database (as $user to $host, database $db): " . mysqli_error()); die("Unable to connect to database (as $user to $host, database $db): " . mysqli_connect_error());
} }
} }