git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@123129 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2003-04-11 09:49:03 +00:00
parent c8458e7fcc
commit 520215ff82
2 changed files with 3 additions and 19 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
<refentry id="function.mysql-query">
<refnamediv>
@ -12,7 +12,6 @@
<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,14 +20,7 @@
<parameter>link_identifier</parameter> isn't specified, the last
opened link is assumed. If no link is open, the function tries
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.
called with no arguments, and use it. The result of the query is bufferd.
</para>
<note>
<para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
<refentry id="function.mysql-unbuffered-query">
<refnamediv>
@ -15,7 +15,6 @@
<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
@ -30,13 +29,6 @@
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