mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Adding missing parameter info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78451 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6a612faa6b
commit
defe7baf7d
2 changed files with 16 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
<type>resource</type><methodname>mysql_query</methodname>
|
||||
<methodparam><type>string</type><parameter>query</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>result_mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>mysql_query</function> sends a query to the currently
|
||||
|
@ -21,6 +22,13 @@
|
|||
to establish a link as if <function>mysql_connect</function> was
|
||||
called with no arguments, and use it.
|
||||
</para>
|
||||
<para>
|
||||
The optional <parameter>result_mode</parameter> parameter
|
||||
can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It
|
||||
defaults to MYSQL_STORE_RESULT, so the result is buffered.
|
||||
See also <function>mysql_unbuffered_query</function> for the
|
||||
counterpart of this behaviour.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
The query string should not end with a semicolon.
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
<type>resource</type><methodname>mysql_unbuffered_query</methodname>
|
||||
<methodparam><type>string</type><parameter>query</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>result_mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>mysql_unbuffered_query</function> sends a SQL query
|
||||
|
@ -28,6 +29,13 @@
|
|||
have to specify the optional parameter
|
||||
<parameter>link_identifier</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
The optional <parameter>result_mode</parameter> parameter
|
||||
can be MYSQL_USE_RESULT and MYSQL_STORE_RESULT. It
|
||||
defaults to MYSQL_USE_RESULT, so the result is not buffered.
|
||||
See also <function>mysql_query</function> for the
|
||||
counterpart of this behaviour.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
The benefits of <function>mysql_unbuffered_query</function> come
|
||||
|
|
Loading…
Reference in a new issue