⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mysqli.init.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Initializes MySQLi and returns a resource for use with mysqli_real_connect()</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli.info.html">mysqli->info</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli.insert-id.html">mysqli->insert_id</a></div> <div class="up"><a href="class.mysqli.html">MySQLi</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="mysqli.init" class="refentry"> <div class="refnamediv">  <h1 class="refname">mysqli::init</h1>  <h1 class="refname">mysqli_init</h1>  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">mysqli::init</span> -- <span class="refname">mysqli_init</span> &mdash; <span class="dc-title">Initializes MySQLi and returns a resource for use with mysqli_real_connect()</span></p> </div> <div class="refsect1 description">  <h3 class="title">Description</h3>  <p class="para">Object oriented style (method):</p>   <div class="methodsynopsis dc-description">    <span class="type"><a href="class.mysqli.html" class="type mysqli">mysqli</a></span> <span class="methodname"><b><b>init</b></b></span>     ( <span class="methodparam">void</span>    )</div>  <p class="para rdfs-comment">Procedural style:</p>  <div class="methodsynopsis dc-description">   <span class="type"><a href="class.mysqli.html" class="type mysqli">mysqli</a></span> <span class="methodname"><b><b>mysqli_init</b></b></span>    ( <span class="methodparam">void</span>   )</div>  <p class="para rdfs-comment">   Allocates or initializes a MYSQL object suitable for   <a href="mysqli.options.html" class="function">mysqli_options()</a> and <a href="mysqli.real-connect.html" class="function">mysqli_real_connect()</a>.  </p>  <blockquote><p><b class="note">Note</b>:        Any subsequent calls to any mysqli function (except <a href="mysqli.options.html" class="function">mysqli_options()</a>)    will fail until <a href="mysqli.real-connect.html" class="function">mysqli_real_connect()</a> was called.   <br />  </p></blockquote> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns an object.  </p> </div> <div class="refsect1 seealso">  <h3 class="title">See Also</h3>  <p class="para">   <ul class="simplelist">    <li class="member"><a href="mysqli.options.html" class="function" rel="rdfs-seeAlso">mysqli_options()</a></li>    <li class="member"><a href="mysqli.close.html" class="function" rel="rdfs-seeAlso">mysqli_close()</a></li>    <li class="member"><a href="mysqli.real-connect.html" class="function" rel="rdfs-seeAlso">mysqli_real_connect()</a></li>    <li class="member"><a href="mysqli.connect.html" class="function" rel="rdfs-seeAlso">mysqli_connect()</a></li>   </ul>  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli.info.html">mysqli->info</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli.insert-id.html">mysqli->insert_id</a></div> <div class="up"><a href="class.mysqli.html">MySQLi</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -