CodeExplorer mysqli_select_db example
public function select( $db,
$dbh = null
) { if ( is_null( $dbh ) ) { $dbh =
$this->dbh;
} if ( $this->use_mysqli
) { $success =
mysqli_select_db( $dbh,
$db );
} else { $success =
mysql_select_db( $db,
$dbh );
} if ( !
$success ) { $this->ready = false;
if ( !
did_action( 'template_redirect'
) ) { wp_load_translations_early();
$message = '<h1>' .
__( 'Cannot select database'
) . "</h1>\n";
$message .= '<p>' .
sprintf(