array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'class.mysqli.php', 1 => 'mysqli', ), 'up' => array ( 0 => 'book.mysqli.php', 1 => 'MySQLi', ), 'prev' => array ( 0 => 'mysqli.summary.php', 1 => 'The MySQLi Extension Function Summary', ), 'next' => array ( 0 => 'mysqli.affected-rows.php', 1 => 'mysqli::$affected_rows', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mysqli/mysqli.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.mysqli.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5, PHP 7, PHP 8)
Represents a connection between PHP and a MySQL database.
$hostname
= null
,$username
= null
,$password
= null
,$database
= null
,$port
= null
,$socket
= null
$hostname
= null
,$username
= null
,$password
= null
,$database
= null
,$port
= null
,$socket
= null
&$read
,&$error
,&$reject
,$seconds
,$microseconds
= 0$hostname
= null
,$username
= null
,$password
= null
,$database
= null
,$port
= null
,$socket
= null
,$flags
= 0