Does the order of parameters in db-mysqli.php matter?
Line 78 in db-mysqli.php looks like this:
$this->$dbhname = @mysqli_connect( $server->host, $server->user, $server->pass, null, $server->port );
I thought the order of the parameters was important, and should be:
host, user, pass, dbname, port, socket
From looking at line 78, it would seem that the dbname is set to null, and the socket is not used since it’s just not there. Is that intentional? Maybe the database name is set someplace else and is not needed here for this connection? Just asking because it seemed weird to me.
- You must be logged in to reply to this topic.