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

📄 mysql.constants.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>Predefined Constants</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="mysql.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysql.examples.html">Examples</a></div> <div class="up"><a href="book.mysql.html">MySQL</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Predefined Constants</h1> <p class="simpara">The constants below are defined by this extension, andwill only be available when the extension has eitherbeen compiled into PHP or dynamically loaded at runtime.</p> <p class="para">  Since PHP 4.3.0 it is possible to specify additional client flags for the  <a href="function.mysql-connect.html" class="function">mysql_connect()</a> and <a href="function.mysql-pconnect.html" class="function">mysql_pconnect()</a>  functions. The following constants are defined:  <table border="5">   <caption><b>MySQL client constants</b></caption>    <colgroup>     <thead valign="middle">      <tr valign="middle">       <th colspan="1">Constant</th>       <th colspan="1">Description</th>      </tr>     </thead>     <tbody valign="middle" class="tbody">      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">MYSQL_CLIENT_COMPRESS</td>       <td colspan="1" rowspan="1" align="left">Use compression protocol</td>      </tr>      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">MYSQL_CLIENT_IGNORE_SPACE</td>       <td colspan="1" rowspan="1" align="left">Allow space after function names</td>      </tr>      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">MYSQL_CLIENT_INTERACTIVE</td>       <td colspan="1" rowspan="1" align="left">Allow interactive_timeout seconds (instead of wait_timeout) of        inactivity before closing the connection.</td>      </tr>      <tr valign="middle">       <td colspan="1" rowspan="1" align="left">MYSQL_CLIENT_SSL</td>       <td colspan="1" rowspan="1" align="left">Use SSL encryption. This flag is only available with version 4.x        of the MySQL client library or newer. Version 3.23.x is bundled both        with PHP 4 and Windows binaries of PHP 5.       </td>      </tr>     </tbody>    </colgroup>  </table> </p> <p class="para">  The function <a href="function.mysql-fetch-array.html" class="function">mysql_fetch_array()</a> uses a constant for  the different types of result arrays. The following constants are  defined:  <table border="5">   <caption><b>MySQL fetch constants</b></caption>   <colgroup>    <thead valign="middle">     <tr valign="middle">      <th colspan="1">Constant</th>      <th colspan="1">Description</th>     </tr>    </thead>    <tbody valign="middle" class="tbody">     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">MYSQL_ASSOC</td>      <td colspan="1" rowspan="1" align="left">       Columns are returned into the array having the fieldname as the array       index.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">MYSQL_BOTH</td>      <td colspan="1" rowspan="1" align="left">       Columns are returned into the array having both a numerical index       and the fieldname as the array index.      </td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">MYSQL_NUM</td>      <td colspan="1" rowspan="1" align="left">       Columns are returned into the array having a numerical index to the       fields. This index starts with 0, the first field in the result.      </td>     </tr>    </tbody>   </colgroup>  </table> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysql.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysql.examples.html">Examples</a></div> <div class="up"><a href="book.mysql.html">MySQL</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 + -