cvs: phpdoc-zh /reference/mysqli configure.xml constants.xml ini.xml reference.xml
| From: | Dallas Thunder | Date: | Thu, 26 Jan 2006 05:15:44 +0000 |
| Subject: | cvs: phpdoc-zh /reference/mysqli configure.xml constants.xml ini.xml reference.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-2766@lists.php.net to get a copy of this message | ||
dallas Thu Jan 26 05:15:44 2006 UTC
Added files:
/phpdoc-zh/reference/mysqli configure.xml constants.xml ini.xml
reference.xml
Log:
Added not yet completed.
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/configure.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/configure.xml +++ phpdoc-zh/reference/mysqli/configure.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <section id="mysqli.installation"> &reftitle.install; <para id="mysqli.configure"> Òª°²×° PHP µÄ mysqli À©Õ¹£¬ÅäÖÃʱ¼ÓÉÏ <option role="configure">--with-mysqli=mysql_config_path/mysql_config</option>¡£ÆäÖÐ <literal>mysql_config_path</literal> ±íʾ <literal>mysql_config</literal> ³ÌÐòµÄ·¾¶£¬¸Ã³ÌÐòËæ MySQL ´óÓÚ 4.1 °æ±¾Ò»Æð·¢²¼¡£ </para> <para> Èç¹ûҪͬʱ°²×° mysql ºÍ mysqli À©Õ¹£¬±ØÐëʹÓÃͬһ¸ö¿Í»§¶Ë¿âÒÔ±ÜÃâ³åÍ»¡£ </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/constants.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/constants.xml +++ phpdoc-zh/reference/mysqli/constants.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.14 Maintainer: dallas Status: ready --> <section id='mysqli.constants'> &reftitle.constants; <table> <title>MySQLi ³£Á¿</title> <tgroup cols='2'> <thead> <row> <entry>Ãû³Æ</entry> <entry>˵Ã÷</entry> </row> </thead> <tbody> <row> <entry> <constant id='constantmysqli-read-default-group'>MYSQLI_READ_DEFAULT_GROUP</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Read options from the named group from `my.cnf' or the file specified with <literal>MYSQLI_READ_DEFAULT_FILE</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-read-default-file'>MYSQLI_READ_DEFAULT_FILE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Read options from the named option file instead of from <literal>my.cnf</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-opt-connect-timeout'>MYSQLI_OPT_CONNECT_TIMEOUT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Connect timeout in seconds </entry> </row> <row> <entry> <constant id='constantmysqli-opt-local-infile'>MYSQLI_OPT_LOCAL_INFILE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Enables command <literal>LOAD LOCAL INFILE</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-init-command'>MYSQLI_INIT_COMMAND</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting. </entry> </row> <row> <entry> <constant id='constantmysqli-client-ssl'>MYSQLI_CLIENT_SSL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library </entry> </row> <row> <entry> <constant id='constantmysqli-client-compress'>MYSQLI_CLIENT_COMPRESS</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Use compression protocol </entry> </row> <row> <entry> <constant id='constantmysqli-client-interactive'>MYSQLI_CLIENT_INTERACTIVE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Allow interactive_timeout seconds (instead of wait_timeout seconds) of inactivity before closing the connection. The client's session wait_timeout variable will be set to the value of the session interactive_timeout variable. </entry> </row> <row> <entry> <constant id='constantmysqli-client-ignore-space'>MYSQLI_CLIENT_IGNORE_SPACE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Allow spaces after function names. Makes all functions names reserved words. </entry> </row> <row> <entry> <constant id='constantmysqli-client-no-schema'>MYSQLI_CLIENT_NO_SCHEMA</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Don't allow the db_name.tbl_name.col_name syntax. </entry> </row> <row> <entry> <constant id='constantmysqli-client-multi-queries'>MYSQLI_CLIENT_MULTI_QUERIES</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> </entry> </row> <row> <entry> <constant id='constantmysqli-store-result'>MYSQLI_STORE_RESULT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> For using buffered resultsets </entry> </row> <row> <entry> <constant id='constantmysqli-use-result'>MYSQLI_USE_RESULT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> For using unbuffered resultsets </entry> </row> <row> <entry> <constant id='constantmysqli-assoc'>MYSQLI_ASSOC</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Columns are returned into the array having the fieldname as the array index. </entry> </row> <row> <entry> <constant id='constantmysqli-num'>MYSQLI_NUM</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Columns are returned into the array having an enumerated index. </entry> </row> <row> <entry> <constant id='constantmysqli-both'>MYSQLI_BOTH</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Columns are returned into the array having both a numerical index and the fieldname as the associative index. </entry> </row> <row> <entry> <constant id='constantmysqli-not-null-flag'>MYSQLI_NOT_NULL_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Indicates that a field is defined as <literal>NOT NULL</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-pri-key-flag'>MYSQLI_PRI_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Field is part of a primary index </entry> </row> <row> <entry> <constant id='constantmysqli-unique-key-flag'>MYSQLI_UNIQUE_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Field is part of a unique index. </entry> </row> <row> <entry> <constant id='constantmysqli-multiple-key-flag'>MYSQLI_MULTIPLE_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Field is part of an index. </entry> </row> <row> <entry> <constant id='constantmysqli-blob-flag'>MYSQLI_BLOB_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-unsigned-flag'>MYSQLI_UNSIGNED_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>UNSIGNED</literal></entry> </row> <row> <entry> <constant id='constantmysqli-zerofill-flag'>MYSQLI_ZEROFILL_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>ZEROFILL</literal></entry> </row> <row> <entry> <constant id='constantmysqli-auto-increment-flag'>MYSQLI_AUTO_INCREMENT_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>AUTO_INCREMENT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-timestamp-flag'>MYSQLI_TIMESTAMP_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TIMESTAMP</literal></entry> </row> <row> <entry> <constant id='constantmysqli-set-flag'>MYSQLI_SET_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>SET</literal></entry> </row> <row> <entry> <constant id='constantmysqli-num-flag'>MYSQLI_NUM_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>NUMERIC</literal></entry> </row> <row> <entry> <constant id='constantmysqli-part-key-flag'>MYSQLI_PART_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is part of an multi-index</entry> </row> <row> <entry> <constant id='constantmysqli-group-flag'>MYSQLI_GROUP_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is part of <literal>GROUP BY</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-decimal'>MYSQLI_TYPE_DECIMAL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DECIMAL</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-newdecimal'>MYSQLI_TYPE_NEWDECIMAL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Precision math <literal>DECIMAL</literal> or <literal>NUMERIC</literal> field (MySQL 5.0.3 and up)</entry> </row> <row> <entry> <constant id='constantmysqli-type-bit'>MYSQLI_TYPE_BIT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BIT</literal> (MySQL 5.0.3 and up)</entry> </row> <row> <entry> <constant id='constantmysqli-type-tiny'>MYSQLI_TYPE_TINY</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TINYINT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-short'>MYSQLI_TYPE_SHORT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>INT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-long'>MYSQLI_TYPE_LONG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>INT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-fload'>MYSQLI_TYPE_FLOAT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>FLOAT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-double'>MYSQLI_TYPE_DOUBLE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DOUBLE</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-null'>MYSQLI_TYPE_NULL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DEFAULT NULL</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-timestamp'>MYSQLI_TYPE_TIMESTAMP</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TIMESTAMP</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-longlong'>MYSQLI_TYPE_LONGLONG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BIGINT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-int24'>MYSQLI_TYPE_INT24</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>MEDIUMINT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-date'>MYSQLI_TYPE_DATE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DATE</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-time'>MYSQLI_TYPE_TIME</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TIME</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-datetime'>MYSQLI_TYPE_DATETIME</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DATETIME</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-year'>MYSQLI_TYPE_YEAR</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>YEAR</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-newdate'>MYSQLI_TYPE_NEWDATE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DATE</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-enum'>MYSQLI_TYPE_ENUM</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>ENUM</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-set'>MYSQLI_TYPE_SET</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>SET</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-tiny-blob'>MYSQLI_TYPE_TINY_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TINYBLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-medium-blob'>MYSQLI_TYPE_MEDIUM_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>MEDIUMBLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-long-blob'>MYSQLI_TYPE_LONG_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>LONGBLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-blob'>MYSQLI_TYPE_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-string'>MYSQLI_TYPE_VAR_STRING</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>VARCHAR</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-char'>MYSQLI_TYPE_STRING</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>CHAR</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-geometry'>MYSQLI_TYPE_GEOMETRY</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>GEOMETRY</literal></entry> </row> <row> <entry> <constant id='constantmysqli-need-data'>MYSQLI_NEED_DATA</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>More data available for bind variable</entry> </row> <row> <entry> <constant id='constantmysqli-no-data'>MYSQLI_NO_DATA</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>No more data available for bind variable</entry> </row> <row> <entry> <constant id='constantmysqli-data-truncated'>MYSQLI_DATA_TRUNCATED</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Data truncation occurred. Available since PHP 5.1.0 and MySQL 5.0.5. </entry> </row> </tbody> </tgroup> </table> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/ini.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/ini.xml +++ phpdoc-zh/reference/mysqli/ini.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> <section id="mysqli.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> <title>MySQLi ÅäÖÃÑ¡Ïî</title> <tgroup cols="4"> <thead> <row> <entry>Ãû³Æ</entry> <entry>ĬÈÏÖµ</entry> <entry>¿ÉÐ޸ķ¶Î§</entry> <entry>¸üÐÂÈÕÖ¾</entry> </row> </thead> <tbody> <row> <entry>mysqli.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_port</entry> <entry>"3306"</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_socket</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_host</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_user</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_pw</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> </tbody> </tgroup> </table> </para> <para> ÒÔÉÏ PHP_INI_* ³£Á¿µÄ½øÒ»²½Ï¸½Ú¼°¶¨Ò壬¼û<link linkend="configuration.changes">ÔõÑùÐÞ¸ÄÅäÖÃÉ趨</link>Ò»½Ú¡£ </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.mysqli.max-links"> <term> <parameter>mysqli.max_links</parameter> <type>integer</type> </term> <listitem> <para> ÿ¸ö½ø³ÌµÄ MySQL Á¬½ÓµÄ×î´óÊýÄ¿¡£ </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-port"> <term> <parameter>mysqli.default_port</parameter> <type>string</type> </term> <listitem> <para> The default TCP port number to use when connecting to the database server if no other port is specified. If no default is specified, the port will be obtained from the <literal>MYSQL_TCP_PORT</literal> environment variable, the <literal>mysql-tcp</literal> entry in <filename>/etc/services</filename> or the compile-time <literal>MYSQL_PORT</literal> constant, in that order. Win32 will only use the <literal>MYSQL_PORT</literal> constant. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-socket"> <term> <parameter>mysqli.default_socket</parameter> <type>string</type> </term> <listitem> <para> The default socket name to use when connecting to a local database server if no other socket name is specified. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-host"> <term> <parameter>mysqli.default_host</parameter> <type>string</type> </term> <listitem> <para> The default server host to use when connecting to the database server if no other host is specified. Doesn't apply in <link linkend="ini.safe-mode">safe mode</link>. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-user"> <term> <parameter>mysqli.default_user</parameter> <type>string</type> </term> <listitem> <para> The default user name to use when connecting to the database server if no other name is specified. Doesn't apply in <link linkend="ini.safe-mode">safe mode</link>. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-pw"> <term> <parameter>mysqli.default_pw</parameter> <type>string</type> </term> <listitem> <para> The default password to use when connecting to the database server if no other password is specified. Doesn't apply in <link linkend="ini.safe-mode">safe mode</link>. </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/reference.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/reference.xml +++ phpdoc-zh/reference/mysqli/reference.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.27 Maintainer: dallas Status: ready --> <!-- Purpose: database.vendors --> <!-- Membership: bundled, external --> <reference id='ref.mysqli'> <title>MySQLi À©Õ¹¿â</title> <titleabbrev>mysqli</titleabbrev> <partintro> <section id='mysqli.intro'> &reftitle.intro; <para> The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at <ulink url="&url.mysql;">&url.mysql;</ulink> </para> <para> Documentation for MySQL can be found at <ulink url="&url.mysql.docs;">&url.mysql.docs;</ulink>. </para> <para>Parts of this documentation included from MySQL manual with permissions of MySQL AB.</para> </section> <section id='mysqli.requirements'> &reftitle.required; <para> In order to have these functions available, you must compile PHP with support for the mysqli extension. </para> <note> <para> The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. For previous versions, please see the <link linkend="ref.mysql">MySQL</link> extension documentation. </para> </note> </section> &reference.mysqli.configure; &reference.mysqli.ini; <section id='mysqli.classes'> &reftitle.classes; <section id='mysqli.class.mysql'> <title><classname>mysqli</classname></title> <para> Represents a connection between PHP and a MySQL database. </para> <section id='mysqli.class.mysql.constructor'> &reftitle.constructor; <itemizedlist> <listitem> <para><link linkend='function.mysqli-connect'>mysqli</link> - construct a new mysqli object</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.mysql.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><link linkend='function.mysqli-autocommit'>autocommit</link> - turns on or off auto-commiting database modifications</para> </listitem> <listitem> <para><link linkend='function.mysqli-change-user'>change_user</link> - changes the user of the specified database connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-character-set-name'>character_set_name</link> - returns the default character set for the database connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-close'>close</link> - closes a previously opened connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-commit'>commit</link> - commits the current transaction</para> </listitem> <listitem> <para><link linkend='function.mysqli-connect'>connect</link> - opens a new connection to MySQL database server</para> </listitem> <listitem> <para><link linkend='function.mysqli-debug'>debug</link> - performs debugging operations</para> </listitem> <listitem> <para><link linkend='function.mysqli-dump-debug-info'>dump_debug_info</link> - dumps debug information</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-client-info'>get_client_info</link> - returns client version</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-host-info'>get_host_info</link> - returns type of connection used</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-server-info'>get_server_info</link> - returns version of the MySQL server</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-server-version'>get_server_version</link> - returns version of the MySQL server</para> </listitem> <listitem> <para><link linkend='function.mysqli-init'>init</link> - initializes mysqli object</para> </listitem> <listitem> <para><link linkend='function.mysqli-info'>info</link> - retrieves information about the most recently executed query</para> </listitem> <listitem> <para><link linkend='function.mysqli-kill'>kill</link> - asks the server to kill a mysql thread</para> </listitem> <listitem> <para><link linkend='function.mysqli-multi-query'>multi_query</link> - performs multiple queries</para> </listitem> <listitem> <para><link linkend='function.mysqli-more-results'>more_results</link> - check if more results exist from currently executed multi-query</para> </listitem> <listitem> <para><link linkend='function.mysqli-next-result'>next_result</link> - reads next result from currently executed multi-query</para> </listitem> <listitem> <para><link linkend='function.mysqli-options'>options</link> - set options</para> </listitem> <listitem> <para><link linkend='function.mysqli-ping'>ping</link> - pings a server connection or reconnects if there is no connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-prepare'>prepare</link> - prepares a SQL query</para> </listitem> <listitem> <para><link linkend='function.mysqli-query'>query</link> - performs a query</para> </listitem> <listitem> <para><link linkend='function.mysqli-real-connect'>real_connect</link> - attempts to open a connection to MySQL database server</para> </listitem> <listitem> <para><link linkend='function.mysqli-real-escape-string'>escape_string</link> - escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-rollback'>rollback</link> - rolls back the current transaction</para> </listitem> <listitem> <para><link linkend='function.mysqli-select-db'>select_db</link> - selects the default database</para> </listitem> <listitem> <para><link linkend='function.mysqli-set-charset'>set_charset</link> - sets the default client character set</para> </listitem> <listitem> <para><link linkend='function.mysqli-ssl-set'>ssl_set</link> - sets ssl parameters</para> </listitem> <listitem> <para><link linkend='function.mysqli-stat'>stat</link> - gets the current system status</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-init'>stmt_init</link>- initializes a statement for use with <link linkend='function.mysqli-stmt-prepare'>mysqli_stmt_prepare</link></para> </listitem> <listitem> <para><link linkend='function.mysqli-store-result'>store_result</link> - transfers a resultset from last query</para> </listitem> <listitem> <para><link linkend='function.mysqli-use-result'>use_result</link> - transfers an unbuffered resultset from last query</para> </listitem> <listitem> <para><link linkend='function.mysqli-thread-safe'>thread_safe</link> - returns whether thread safety is given or not</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.mysql.properties'> &reftitle.properties; <itemizedlist> <listitem> <para><link linkend='function.mysqli-affected-rows'>affected_rows</link> - gets the number of affected rows in a previous MySQL operation</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-client-info'>client_info</link> - returns the MySQL client version as a string</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-client-version'>client_version</link> - returns the MySQL client version as an integer</para> </listitem> <listitem> <para><link linkend='function.mysqli-errno'>errno</link> - returns the error code for the most recent function call</para> </listitem> <listitem> <para><link linkend='function.mysqli-error'>error</link> - returns the error string for the most recent function call</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-count'>field_count</link> - returns the number of columns for the most recent query</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-host-info'>host_info</link> - returns a string representing the type of connection used</para> </listitem> <listitem> <para><link linkend='function.mysqli-info'>info</link> - retrieves information about the most recently executed query</para> </listitem> <listitem> <para><link linkend='function.mysqli-insert-id'>insert_id</link> - returns the auto generated id used in the last query</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-proto-info'>protocol_version</link> - returns the version of the MySQL protocol used</para> </listitem> <listitem> <para>server_info - returns a string that represents the server version number</para> </listitem> <listitem> <para>server_version - returns the version number of the server as an integer</para> </listitem> <listitem> <para><link linkend='function.mysqli-sqlstate'>sqlstate</link> - returns a string containing the SQLSTATE error code for the last error</para> </listitem> <listitem> <para><link linkend='function.mysqli-thread-id'>thread_id</link> - returns the thread ID for the current connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-warning-count'>warning_count</link> - returns the number of warnings generated during execution of the previous SQL statement</para> </listitem> </itemizedlist> </section> </section> <section id='mysqli.classes.stmt'> <title><classname>mysqli_stmt</classname></title> <para> Represents a prepared statement. </para> <section id='mysqli.class.stmt.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><link linkend='function.mysqli-stmt-bind-param'>bind_param</link> - binds variables to a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-bind-result'>bind_result</link> - binds variables to a prepared statement for result storage</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-close'>close</link> - closes a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-data-seek'>data_seek</link> - seeks to an arbitrary row in a statement result set</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-execute'>execute</link> - executes a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-fetch'>fetch</link> - fetches result from a prepared statement into bound variables</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-free-result'>free_result</link> - frees stored result memory for the given statement handle</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-result-metadata'>result_metadata</link> - retrieves a resultset from a prepared statement for metadata information</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-prepare'>prepare</link> - prepares a SQL query</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-send-long-data'>send_long_data</link> - sends data in chunks</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-reset'>reset</link> - resets a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-store-result'>store_result</link> - buffers complete resultset from a prepared statement</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.stmt.properties'> &reftitle.properties; <itemizedlist> <listitem> <para><link linkend='function.mysqli-stmt-affected-rows'>affected_rows</link> - returns affected rows from last statement execution</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-errno'>errno</link> - returns errorcode for last statement function</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-error'>error</link> - returns errormessage for last statement function</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-count'>field_count</link> - returns the number of columns in a result set</para> </listitem> <listitem> <para>id - returns the statement identifier</para> </listitem> <listitem> <para><link linkend='function.mysqli-insert-id'>insert_id</link> - returns the value generated for an AUTO_INCREMENT column by the prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-num-rows'>num_rows</link> - returns the number of rows in the result set</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-param-count'>param_count</link> - returns number of parameter for a given prepare statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-sqlstate'>sqlstate</link> - returns a string containing the SQLSTATE error code for the last statement function</para> </listitem> </itemizedlist> </section> </section> <section id='mysqli.classes.result'> <title><classname>mysqli_result</classname></title> <para> Represents the result set obtained from a query against the database. </para> <section id='mysqli.class.result.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><link linkend='function.mysqli-free-result'>close</link> - closes resultset</para> </listitem> <listitem> <para><link linkend='function.mysqli-data-seek'>data_seek</link> - moves internal result pointer</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-field'>fetch_field</link> - gets column information from a resultset</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-fields'>fetch_fields</link> - gets information for all columns from a resulset</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-field-direct'>fetch_field_direct</link> - gets column information for specified column</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-array'>fetch_array</link> - fetches a result row as an associative array, a numeric array, or both.</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-assoc'>fetch_assoc</link> - fetches a result row as an associative array</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-object'>fetch_object</link> - fetches a result row as an object</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-row'>fetch_row</link> - gets a result row as an enumerated array</para> </listitem> <listitem> <para><link linkend='function.mysqli-free-result'>close</link> - frees result memory</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-seek'>field_seek</link> - set result pointer to a specified field offset</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.result.properties'> &reftitle.properties; <itemizedlist> <listitem> <para><link linkend='function.mysqli-field-tell'>current_field</link> - returns offset of current fieldpointer</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-count'>field_count</link> - returns number of fields in resultset</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-lengths'>lengths</link> - returns an array of columnlengths</para> </listitem> <listitem> <para><link linkend='function.mysqli-num-rows'>num_rows</link> - returns number of rows in resultset</para> </listitem> <listitem> <para>type - returns <constant>MYSQLI_STORE_RESULT</constant> or <constant>MYSQLI_USE_RESULT</constant></para> </listitem> </itemizedlist> </section> </section> </section> &reference.mysqli.constants; <section> <title>Àý×Ó</title> <para> ÔÚ MySQLI ÎĵµÖеÄËùÓÐÀý×Ó¶¼Ê¹ÓÃÁËÀ´×Ô MySQL AB µÄ world Êý¾Ý¿â¡£Êý¾Ý¿â world ¿ÉÒÔÔڴ˵ØÖ·ÏÂÔØ£º<ulink url="&url.mysql.example;">&url.mysql.example;</ulink>¡£ </para> </section> </partintro> &reference.mysqli.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/configure.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/configure.xml +++ phpdoc-zh/reference/mysqli/configure.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.5 Maintainer: dallas Status: ready --> <section id="mysqli.installation"> &reftitle.install; <para id="mysqli.configure"> Òª°²×° PHP µÄ mysqli À©Õ¹£¬ÅäÖÃʱ¼ÓÉÏ <option role="configure">--with-mysqli=mysql_config_path/mysql_config</option>¡£ÆäÖÐ <literal>mysql_config_path</literal> ±íʾ <literal>mysql_config</literal> ³ÌÐòµÄ·¾¶£¬¸Ã³ÌÐòËæ MySQL ´óÓÚ 4.1 °æ±¾Ò»Æð·¢²¼¡£ </para> <para> Èç¹ûҪͬʱ°²×° mysql ºÍ mysqli À©Õ¹£¬±ØÐëʹÓÃͬһ¸ö¿Í»§¶Ë¿âÒÔ±ÜÃâ³åÍ»¡£ </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/constants.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/constants.xml +++ phpdoc-zh/reference/mysqli/constants.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.14 Maintainer: dallas Status: ready --> <section id='mysqli.constants'> &reftitle.constants; <table> <title>MySQLi ³£Á¿</title> <tgroup cols='2'> <thead> <row> <entry>Ãû³Æ</entry> <entry>˵Ã÷</entry> </row> </thead> <tbody> <row> <entry> <constant id='constantmysqli-read-default-group'>MYSQLI_READ_DEFAULT_GROUP</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Read options from the named group from `my.cnf' or the file specified with <literal>MYSQLI_READ_DEFAULT_FILE</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-read-default-file'>MYSQLI_READ_DEFAULT_FILE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Read options from the named option file instead of from <literal>my.cnf</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-opt-connect-timeout'>MYSQLI_OPT_CONNECT_TIMEOUT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Connect timeout in seconds </entry> </row> <row> <entry> <constant id='constantmysqli-opt-local-infile'>MYSQLI_OPT_LOCAL_INFILE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Enables command <literal>LOAD LOCAL INFILE</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-init-command'>MYSQLI_INIT_COMMAND</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Command to execute when connecting to MySQL server. Will automatically be re-executed when reconnecting. </entry> </row> <row> <entry> <constant id='constantmysqli-client-ssl'>MYSQLI_CLIENT_SSL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Use SSL (encrypted protocol). This option should not be set by application programs; it is set internally in the MySQL client library </entry> </row> <row> <entry> <constant id='constantmysqli-client-compress'>MYSQLI_CLIENT_COMPRESS</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Use compression protocol </entry> </row> <row> <entry> <constant id='constantmysqli-client-interactive'>MYSQLI_CLIENT_INTERACTIVE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Allow interactive_timeout seconds (instead of wait_timeout seconds) of inactivity before closing the connection. The client's session wait_timeout variable will be set to the value of the session interactive_timeout variable. </entry> </row> <row> <entry> <constant id='constantmysqli-client-ignore-space'>MYSQLI_CLIENT_IGNORE_SPACE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Allow spaces after function names. Makes all functions names reserved words. </entry> </row> <row> <entry> <constant id='constantmysqli-client-no-schema'>MYSQLI_CLIENT_NO_SCHEMA</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Don't allow the db_name.tbl_name.col_name syntax. </entry> </row> <row> <entry> <constant id='constantmysqli-client-multi-queries'>MYSQLI_CLIENT_MULTI_QUERIES</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> </entry> </row> <row> <entry> <constant id='constantmysqli-store-result'>MYSQLI_STORE_RESULT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> For using buffered resultsets </entry> </row> <row> <entry> <constant id='constantmysqli-use-result'>MYSQLI_USE_RESULT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> For using unbuffered resultsets </entry> </row> <row> <entry> <constant id='constantmysqli-assoc'>MYSQLI_ASSOC</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Columns are returned into the array having the fieldname as the array index. </entry> </row> <row> <entry> <constant id='constantmysqli-num'>MYSQLI_NUM</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Columns are returned into the array having an enumerated index. </entry> </row> <row> <entry> <constant id='constantmysqli-both'>MYSQLI_BOTH</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Columns are returned into the array having both a numerical index and the fieldname as the associative index. </entry> </row> <row> <entry> <constant id='constantmysqli-not-null-flag'>MYSQLI_NOT_NULL_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Indicates that a field is defined as <literal>NOT NULL</literal> </entry> </row> <row> <entry> <constant id='constantmysqli-pri-key-flag'>MYSQLI_PRI_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Field is part of a primary index </entry> </row> <row> <entry> <constant id='constantmysqli-unique-key-flag'>MYSQLI_UNIQUE_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Field is part of a unique index. </entry> </row> <row> <entry> <constant id='constantmysqli-multiple-key-flag'>MYSQLI_MULTIPLE_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Field is part of an index. </entry> </row> <row> <entry> <constant id='constantmysqli-blob-flag'>MYSQLI_BLOB_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-unsigned-flag'>MYSQLI_UNSIGNED_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>UNSIGNED</literal></entry> </row> <row> <entry> <constant id='constantmysqli-zerofill-flag'>MYSQLI_ZEROFILL_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>ZEROFILL</literal></entry> </row> <row> <entry> <constant id='constantmysqli-auto-increment-flag'>MYSQLI_AUTO_INCREMENT_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>AUTO_INCREMENT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-timestamp-flag'>MYSQLI_TIMESTAMP_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TIMESTAMP</literal></entry> </row> <row> <entry> <constant id='constantmysqli-set-flag'>MYSQLI_SET_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>SET</literal></entry> </row> <row> <entry> <constant id='constantmysqli-num-flag'>MYSQLI_NUM_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>NUMERIC</literal></entry> </row> <row> <entry> <constant id='constantmysqli-part-key-flag'>MYSQLI_PART_KEY_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is part of an multi-index</entry> </row> <row> <entry> <constant id='constantmysqli-group-flag'>MYSQLI_GROUP_FLAG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is part of <literal>GROUP BY</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-decimal'>MYSQLI_TYPE_DECIMAL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DECIMAL</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-newdecimal'>MYSQLI_TYPE_NEWDECIMAL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Precision math <literal>DECIMAL</literal> or <literal>NUMERIC</literal> field (MySQL 5.0.3 and up)</entry> </row> <row> <entry> <constant id='constantmysqli-type-bit'>MYSQLI_TYPE_BIT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BIT</literal> (MySQL 5.0.3 and up)</entry> </row> <row> <entry> <constant id='constantmysqli-type-tiny'>MYSQLI_TYPE_TINY</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TINYINT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-short'>MYSQLI_TYPE_SHORT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>INT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-long'>MYSQLI_TYPE_LONG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>INT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-fload'>MYSQLI_TYPE_FLOAT</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>FLOAT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-double'>MYSQLI_TYPE_DOUBLE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DOUBLE</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-null'>MYSQLI_TYPE_NULL</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DEFAULT NULL</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-timestamp'>MYSQLI_TYPE_TIMESTAMP</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TIMESTAMP</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-longlong'>MYSQLI_TYPE_LONGLONG</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BIGINT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-int24'>MYSQLI_TYPE_INT24</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>MEDIUMINT</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-date'>MYSQLI_TYPE_DATE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DATE</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-time'>MYSQLI_TYPE_TIME</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TIME</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-datetime'>MYSQLI_TYPE_DATETIME</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DATETIME</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-year'>MYSQLI_TYPE_YEAR</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>YEAR</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-newdate'>MYSQLI_TYPE_NEWDATE</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>DATE</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-enum'>MYSQLI_TYPE_ENUM</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>ENUM</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-set'>MYSQLI_TYPE_SET</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>SET</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-tiny-blob'>MYSQLI_TYPE_TINY_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>TINYBLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-medium-blob'>MYSQLI_TYPE_MEDIUM_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>MEDIUMBLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-long-blob'>MYSQLI_TYPE_LONG_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>LONGBLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-blob'>MYSQLI_TYPE_BLOB</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>BLOB</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-string'>MYSQLI_TYPE_VAR_STRING</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>VARCHAR</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-char'>MYSQLI_TYPE_STRING</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>CHAR</literal></entry> </row> <row> <entry> <constant id='constantmysqli-type-geometry'>MYSQLI_TYPE_GEOMETRY</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>Field is defined as <literal>GEOMETRY</literal></entry> </row> <row> <entry> <constant id='constantmysqli-need-data'>MYSQLI_NEED_DATA</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>More data available for bind variable</entry> </row> <row> <entry> <constant id='constantmysqli-no-data'>MYSQLI_NO_DATA</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry>No more data available for bind variable</entry> </row> <row> <entry> <constant id='constantmysqli-data-truncated'>MYSQLI_DATA_TRUNCATED</constant> (<link linkend='language.types.integer'>integer</link>) </entry> <entry> Data truncation occurred. Available since PHP 5.1.0 and MySQL 5.0.5. </entry> </row> </tbody> </tgroup> </table> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/ini.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/ini.xml +++ phpdoc-zh/reference/mysqli/ini.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.8 Maintainer: dallas Status: ready --> <section id="mysqli.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> <title>MySQLi ÅäÖÃÑ¡Ïî</title> <tgroup cols="4"> <thead> <row> <entry>Ãû³Æ</entry> <entry>ĬÈÏÖµ</entry> <entry>¿ÉÐ޸ķ¶Î§</entry> <entry>¸üÐÂÈÕÖ¾</entry> </row> </thead> <tbody> <row> <entry>mysqli.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_port</entry> <entry>"3306"</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_socket</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_host</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_user</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> <row> <entry>mysqli.default_pw</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry>×Ô PHP 5.0.0 Æð¿ÉÓá£</entry> </row> </tbody> </tgroup> </table> </para> <para> ÒÔÉÏ PHP_INI_* ³£Á¿µÄ½øÒ»²½Ï¸½Ú¼°¶¨Ò壬¼û<link linkend="configuration.changes">ÔõÑùÐÞ¸ÄÅäÖÃÉ趨</link>Ò»½Ú¡£ </para> &ini.descriptions.title; <para> <variablelist> <varlistentry id="ini.mysqli.max-links"> <term> <parameter>mysqli.max_links</parameter> <type>integer</type> </term> <listitem> <para> ÿ¸ö½ø³ÌµÄ MySQL Á¬½ÓµÄ×î´óÊýÄ¿¡£ </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-port"> <term> <parameter>mysqli.default_port</parameter> <type>string</type> </term> <listitem> <para> The default TCP port number to use when connecting to the database server if no other port is specified. If no default is specified, the port will be obtained from the <literal>MYSQL_TCP_PORT</literal> environment variable, the <literal>mysql-tcp</literal> entry in <filename>/etc/services</filename> or the compile-time <literal>MYSQL_PORT</literal> constant, in that order. Win32 will only use the <literal>MYSQL_PORT</literal> constant. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-socket"> <term> <parameter>mysqli.default_socket</parameter> <type>string</type> </term> <listitem> <para> The default socket name to use when connecting to a local database server if no other socket name is specified. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-host"> <term> <parameter>mysqli.default_host</parameter> <type>string</type> </term> <listitem> <para> The default server host to use when connecting to the database server if no other host is specified. Doesn't apply in <link linkend="ini.safe-mode">safe mode</link>. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-user"> <term> <parameter>mysqli.default_user</parameter> <type>string</type> </term> <listitem> <para> The default user name to use when connecting to the database server if no other name is specified. Doesn't apply in <link linkend="ini.safe-mode">safe mode</link>. </para> </listitem> </varlistentry> <varlistentry id="ini.mysqli.default-pw"> <term> <parameter>mysqli.default_pw</parameter> <type>string</type> </term> <listitem> <para> The default password to use when connecting to the database server if no other password is specified. Doesn't apply in <link linkend="ini.safe-mode">safe mode</link>. </para> </listitem> </varlistentry> </variablelist> </para> </section> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewcvs.cgi/phpdoc-zh/reference/mysqli/reference.xml?view=markup&rev=1.1 Index: phpdoc-zh/reference/mysqli/reference.xml +++ phpdoc-zh/reference/mysqli/reference.xml <?xml version="1.0" encoding="gb2312"?> <!-- $Revision: 1.1 $ --> <!-- $Author: dallas $ --> <!-- EN-Revision: 1.27 Maintainer: dallas Status: ready --> <!-- Purpose: database.vendors --> <!-- Membership: bundled, external --> <reference id='ref.mysqli'> <title>MySQLi À©Õ¹¿â</title> <titleabbrev>mysqli</titleabbrev> <partintro> <section id='mysqli.intro'> &reftitle.intro; <para> The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at <ulink url="&url.mysql;">&url.mysql;</ulink> </para> <para> Documentation for MySQL can be found at <ulink url="&url.mysql.docs;">&url.mysql.docs;</ulink>. </para> <para>Parts of this documentation included from MySQL manual with permissions of MySQL AB.</para> </section> <section id='mysqli.requirements'> &reftitle.required; <para> In order to have these functions available, you must compile PHP with support for the mysqli extension. </para> <note> <para> The mysqli extension is designed to work with the version 4.1.3 or above of MySQL. For previous versions, please see the <link linkend="ref.mysql">MySQL</link> extension documentation. </para> </note> </section> &reference.mysqli.configure; &reference.mysqli.ini; <section id='mysqli.classes'> &reftitle.classes; <section id='mysqli.class.mysql'> <title><classname>mysqli</classname></title> <para> Represents a connection between PHP and a MySQL database. </para> <section id='mysqli.class.mysql.constructor'> &reftitle.constructor; <itemizedlist> <listitem> <para><link linkend='function.mysqli-connect'>mysqli</link> - construct a new mysqli object</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.mysql.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><link linkend='function.mysqli-autocommit'>autocommit</link> - turns on or off auto-commiting database modifications</para> </listitem> <listitem> <para><link linkend='function.mysqli-change-user'>change_user</link> - changes the user of the specified database connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-character-set-name'>character_set_name</link> - returns the default character set for the database connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-close'>close</link> - closes a previously opened connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-commit'>commit</link> - commits the current transaction</para> </listitem> <listitem> <para><link linkend='function.mysqli-connect'>connect</link> - opens a new connection to MySQL database server</para> </listitem> <listitem> <para><link linkend='function.mysqli-debug'>debug</link> - performs debugging operations</para> </listitem> <listitem> <para><link linkend='function.mysqli-dump-debug-info'>dump_debug_info</link> - dumps debug information</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-client-info'>get_client_info</link> - returns client version</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-host-info'>get_host_info</link> - returns type of connection used</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-server-info'>get_server_info</link> - returns version of the MySQL server</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-server-version'>get_server_version</link> - returns version of the MySQL server</para> </listitem> <listitem> <para><link linkend='function.mysqli-init'>init</link> - initializes mysqli object</para> </listitem> <listitem> <para><link linkend='function.mysqli-info'>info</link> - retrieves information about the most recently executed query</para> </listitem> <listitem> <para><link linkend='function.mysqli-kill'>kill</link> - asks the server to kill a mysql thread</para> </listitem> <listitem> <para><link linkend='function.mysqli-multi-query'>multi_query</link> - performs multiple queries</para> </listitem> <listitem> <para><link linkend='function.mysqli-more-results'>more_results</link> - check if more results exist from currently executed multi-query</para> </listitem> <listitem> <para><link linkend='function.mysqli-next-result'>next_result</link> - reads next result from currently executed multi-query</para> </listitem> <listitem> <para><link linkend='function.mysqli-options'>options</link> - set options</para> </listitem> <listitem> <para><link linkend='function.mysqli-ping'>ping</link> - pings a server connection or reconnects if there is no connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-prepare'>prepare</link> - prepares a SQL query</para> </listitem> <listitem> <para><link linkend='function.mysqli-query'>query</link> - performs a query</para> </listitem> <listitem> <para><link linkend='function.mysqli-real-connect'>real_connect</link> - attempts to open a connection to MySQL database server</para> </listitem> <listitem> <para><link linkend='function.mysqli-real-escape-string'>escape_string</link> - escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-rollback'>rollback</link> - rolls back the current transaction</para> </listitem> <listitem> <para><link linkend='function.mysqli-select-db'>select_db</link> - selects the default database</para> </listitem> <listitem> <para><link linkend='function.mysqli-set-charset'>set_charset</link> - sets the default client character set</para> </listitem> <listitem> <para><link linkend='function.mysqli-ssl-set'>ssl_set</link> - sets ssl parameters</para> </listitem> <listitem> <para><link linkend='function.mysqli-stat'>stat</link> - gets the current system status</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-init'>stmt_init</link>- initializes a statement for use with <link linkend='function.mysqli-stmt-prepare'>mysqli_stmt_prepare</link></para> </listitem> <listitem> <para><link linkend='function.mysqli-store-result'>store_result</link> - transfers a resultset from last query</para> </listitem> <listitem> <para><link linkend='function.mysqli-use-result'>use_result</link> - transfers an unbuffered resultset from last query</para> </listitem> <listitem> <para><link linkend='function.mysqli-thread-safe'>thread_safe</link> - returns whether thread safety is given or not</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.mysql.properties'> &reftitle.properties; <itemizedlist> <listitem> <para><link linkend='function.mysqli-affected-rows'>affected_rows</link> - gets the number of affected rows in a previous MySQL operation</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-client-info'>client_info</link> - returns the MySQL client version as a string</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-client-version'>client_version</link> - returns the MySQL client version as an integer</para> </listitem> <listitem> <para><link linkend='function.mysqli-errno'>errno</link> - returns the error code for the most recent function call</para> </listitem> <listitem> <para><link linkend='function.mysqli-error'>error</link> - returns the error string for the most recent function call</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-count'>field_count</link> - returns the number of columns for the most recent query</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-host-info'>host_info</link> - returns a string representing the type of connection used</para> </listitem> <listitem> <para><link linkend='function.mysqli-info'>info</link> - retrieves information about the most recently executed query</para> </listitem> <listitem> <para><link linkend='function.mysqli-insert-id'>insert_id</link> - returns the auto generated id used in the last query</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-proto-info'>protocol_version</link> - returns the version of the MySQL protocol used</para> </listitem> <listitem> <para>server_info - returns a string that represents the server version number</para> </listitem> <listitem> <para>server_version - returns the version number of the server as an integer</para> </listitem> <listitem> <para><link linkend='function.mysqli-sqlstate'>sqlstate</link> - returns a string containing the SQLSTATE error code for the last error</para> </listitem> <listitem> <para><link linkend='function.mysqli-thread-id'>thread_id</link> - returns the thread ID for the current connection</para> </listitem> <listitem> <para><link linkend='function.mysqli-warning-count'>warning_count</link> - returns the number of warnings generated during execution of the previous SQL statement</para> </listitem> </itemizedlist> </section> </section> <section id='mysqli.classes.stmt'> <title><classname>mysqli_stmt</classname></title> <para> Represents a prepared statement. </para> <section id='mysqli.class.stmt.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><link linkend='function.mysqli-stmt-bind-param'>bind_param</link> - binds variables to a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-bind-result'>bind_result</link> - binds variables to a prepared statement for result storage</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-close'>close</link> - closes a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-data-seek'>data_seek</link> - seeks to an arbitrary row in a statement result set</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-execute'>execute</link> - executes a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-fetch'>fetch</link> - fetches result from a prepared statement into bound variables</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-free-result'>free_result</link> - frees stored result memory for the given statement handle</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-result-metadata'>result_metadata</link> - retrieves a resultset from a prepared statement for metadata information</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-prepare'>prepare</link> - prepares a SQL query</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-send-long-data'>send_long_data</link> - sends data in chunks</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-reset'>reset</link> - resets a prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-store-result'>store_result</link> - buffers complete resultset from a prepared statement</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.stmt.properties'> &reftitle.properties; <itemizedlist> <listitem> <para><link linkend='function.mysqli-stmt-affected-rows'>affected_rows</link> - returns affected rows from last statement execution</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-errno'>errno</link> - returns errorcode for last statement function</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-error'>error</link> - returns errormessage for last statement function</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-count'>field_count</link> - returns the number of columns in a result set</para> </listitem> <listitem> <para>id - returns the statement identifier</para> </listitem> <listitem> <para><link linkend='function.mysqli-insert-id'>insert_id</link> - returns the value generated for an AUTO_INCREMENT column by the prepared statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-num-rows'>num_rows</link> - returns the number of rows in the result set</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-param-count'>param_count</link> - returns number of parameter for a given prepare statement</para> </listitem> <listitem> <para><link linkend='function.mysqli-stmt-sqlstate'>sqlstate</link> - returns a string containing the SQLSTATE error code for the last statement function</para> </listitem> </itemizedlist> </section> </section> <section id='mysqli.classes.result'> <title><classname>mysqli_result</classname></title> <para> Represents the result set obtained from a query against the database. </para> <section id='mysqli.class.result.methods'> &reftitle.methods; <itemizedlist> <listitem> <para><link linkend='function.mysqli-free-result'>close</link> - closes resultset</para> </listitem> <listitem> <para><link linkend='function.mysqli-data-seek'>data_seek</link> - moves internal result pointer</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-field'>fetch_field</link> - gets column information from a resultset</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-fields'>fetch_fields</link> - gets information for all columns from a resulset</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-field-direct'>fetch_field_direct</link> - gets column information for specified column</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-array'>fetch_array</link> - fetches a result row as an associative array, a numeric array, or both.</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-assoc'>fetch_assoc</link> - fetches a result row as an associative array</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-object'>fetch_object</link> - fetches a result row as an object</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-row'>fetch_row</link> - gets a result row as an enumerated array</para> </listitem> <listitem> <para><link linkend='function.mysqli-free-result'>close</link> - frees result memory</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-seek'>field_seek</link> - set result pointer to a specified field offset</para> </listitem> </itemizedlist> </section> <section id='mysqli.class.result.properties'> &reftitle.properties; <itemizedlist> <listitem> <para><link linkend='function.mysqli-field-tell'>current_field</link> - returns offset of current fieldpointer</para> </listitem> <listitem> <para><link linkend='function.mysqli-field-count'>field_count</link> - returns number of fields in resultset</para> </listitem> <listitem> <para><link linkend='function.mysqli-fetch-lengths'>lengths</link> - returns an array of columnlengths</para> </listitem> <listitem> <para><link linkend='function.mysqli-num-rows'>num_rows</link> - returns number of rows in resultset</para> </listitem> <listitem> <para>type - returns <constant>MYSQLI_STORE_RESULT</constant> or <constant>MYSQLI_USE_RESULT</constant></para> </listitem> </itemizedlist> </section> </section> </section> &reference.mysqli.constants; <section> <title>Àý×Ó</title> <para> ÔÚ MySQLI ÎĵµÖеÄËùÓÐÀý×Ó¶¼Ê¹ÓÃÁËÀ´×Ô MySQL AB µÄ world Êý¾Ý¿â¡£Êý¾Ý¿â world ¿ÉÒÔÔڴ˵ØÖ·ÏÂÔØ£º<ulink url="&url.mysql.example;">&url.mysql.example;</ulink>¡£ </para> </section> </partintro> &reference.mysqli.functions; </reference> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->