You are here

function mysqli_is_available in Drupal 5

Same name and namespace in other branches
  1. 6 includes/install.mysqli.inc \mysqli_is_available()

Check if MySQLi is available.

Return value

TRUE/FALSE

1 call to mysqli_is_available()
drupal_test_mysqli in includes/install.mysqli.inc
Check if we can connect to MySQL.

File

includes/install.mysqli.inc, line 11

Code

function mysqli_is_available() {
  return function_exists('mysqli_connect');
}