array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.mysqli-connect.php', 1 => 'mysqli_connect', ), 'up' => array ( 0 => 'ref.mysqli.php', 1 => 'Aliases and deprecated Mysqli İşlevleri', ), 'prev' => array ( 0 => 'ref.mysqli.php', 1 => 'Aliases and deprecated Mysqli İşlevleri', ), 'next' => array ( 0 => 'function.mysqli-escape-string.php', 1 => 'mysqli::escape_string', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mysqli/functions/mysqli-connect.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
Bu işlev şu işlevin takma adıdır: mysqli::__construct()
Bilginize:
If mysqli exception mode is not enabled and a connection fails, then mysqli_connect() returns
false
instead of an object. The mysqli_connect_error() function can be used to fetch the connection error.