didou Sun Jan 28 05:22:02 2007 UTC
Modified files:
/phpdoc/en/reference/mysql/functions mysql-create-db.xml
mysql-data-seek.xml
mysql-db-name.xml
mysql-query.xml mysql-stat.xml
Log:
Fix whitespaces
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-create-db.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-create-db.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.15
phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.16
--- phpdoc/en/reference/mysql/functions/mysql-create-db.xml:1.15 Thu Mar
31 07:47:25 2005
+++ phpdoc/en/reference/mysql/functions/mysql-create-db.xml Sun Jan 28
05:22:02 2007
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<refentry id="function.mysql-create-db">
<refnamediv>
<refname>mysql_create_db</refname>
<refpurpose>Create a MySQL database</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -18,6 +19,7 @@
identifier.
</para>
</refsect1>
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-data-seek.xml?r1=1.18&r2=1.19&diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-data-seek.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.18
phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.19
--- phpdoc/en/reference/mysql/functions/mysql-data-seek.xml:1.18 Wed Apr
26 16:20:04 2006
+++ phpdoc/en/reference/mysql/functions/mysql-data-seek.xml Sun Jan 28
05:22:02 2007
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.18 $ -->
+<!-- $Revision: 1.19 $ -->
<refentry id="function.mysql-data-seek">
<refnamediv>
<refname>mysql_data_seek</refname>
<refpurpose>Move internal result pointer</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-db-name.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-db-name.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.9
phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.10
--- phpdoc/en/reference/mysql/functions/mysql-db-name.xml:1.9 Thu Mar 31
07:47:25 2005
+++ phpdoc/en/reference/mysql/functions/mysql-db-name.xml Sun Jan 28
05:22:02 2007
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.mysql-db-name">
<refnamediv>
<refname>mysql_db_name</refname>
<refpurpose>Get result data</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-query.xml?r1=1.16&r2=1.17&diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-query.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-query.xml:1.16
phpdoc/en/reference/mysql/functions/mysql-query.xml:1.17
--- phpdoc/en/reference/mysql/functions/mysql-query.xml:1.16 Fri Jan 19
19:59:03 2007
+++ phpdoc/en/reference/mysql/functions/mysql-query.xml Sun Jan 28 05:22:02 2007
@@ -1,89 +1,88 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
-<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
- <refentry id="function.mysql-query">
- <refnamediv>
- <refname>mysql_query</refname>
- <refpurpose>Send a MySQL query</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
- &reftitle.description;
- <methodsynopsis>
- <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>
- </methodsynopsis>
- <para>
- <function>mysql_query</function> sends an unique query (multiple queries
- are not supported) to the currently
- active database on the server that's associated with the
- specified <parameter>link_identifier</parameter>.
- </para>
- </refsect1>
-
- <refsect1 role="parameters">
- &reftitle.parameters;
- <para>
- <variablelist>
- <varlistentry>
- <term><parameter>query</parameter></term>
- <listitem>
- <para>
- A SQL query
- </para>
- <para>
- The query string should not end with a semicolon.
- </para>
- </listitem>
- </varlistentry>
- &mysql.linkid.description;
- </variablelist>
- </para>
- </refsect1>
-
- <refsect1 role="returnvalues">
- &reftitle.returnvalues;
- <para>
- For SELECT, SHOW, DESCRIBE or EXPLAIN statements,
- <function>mysql_query</function>
- returns a <type>resource</type> on success, or &false; on
- error.
- </para>
- <para>
- For other type of SQL statements, UPDATE, DELETE, DROP, etc,
- <function>mysql_query</function> returns &true; on success
- or &false; on error.
- </para>
- <para>
- The returned result resource should be passed to
- <function>mysql_fetch_array</function>, and other
- functions for dealing with result tables, to access the returned data.
- </para>
- <para>
- Use <function>mysql_num_rows</function> to find out how many rows
- were returned for a SELECT statement or
- <function>mysql_affected_rows</function> to find out how many
- rows were affected by a DELETE, INSERT, REPLACE, or UPDATE
- statement.
- </para>
- <para>
- <function>mysql_query</function> will also fail and return &false;
- if the user does not have permission to access the table(s) referenced by
- the query.
- </para>
- </refsect1>
-
- <refsect1 role="examples">
- &reftitle.examples;
- <para>
- <example>
- <title>Invalid Query</title>
+<!-- $Revision: 1.17 $ -->
+<refentry id="function.mysql-query">
+ <refnamediv>
+ <refname>mysql_query</refname>
+ <refpurpose>Send a MySQL query</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <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>
+ </methodsynopsis>
+ <para>
+ <function>mysql_query</function> sends an unique query (multiple queries
+ are not supported) to the currently
+ active database on the server that's associated with the
+ specified <parameter>link_identifier</parameter>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>query</parameter></term>
+ <listitem>
<para>
- The following query is syntactically invalid, so
- <function>mysql_query</function> fails and returns &false;.
+ A SQL query
</para>
- <programlisting role="php">
+ <para>
+ The query string should not end with a semicolon.
+ </para>
+ </listitem>
+ </varlistentry>
+ &mysql.linkid.description;
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ For SELECT, SHOW, DESCRIBE or EXPLAIN statements,
+ <function>mysql_query</function>
+ returns a <type>resource</type> on success, or &false; on
+ error.
+ </para>
+ <para>
+ For other type of SQL statements, UPDATE, DELETE, DROP, etc,
+ <function>mysql_query</function> returns &true; on success
+ or &false; on error.
+ </para>
+ <para>
+ The returned result resource should be passed to
+ <function>mysql_fetch_array</function>, and other
+ functions for dealing with result tables, to access the returned data.
+ </para>
+ <para>
+ Use <function>mysql_num_rows</function> to find out how many rows
+ were returned for a SELECT statement or
+ <function>mysql_affected_rows</function> to find out how many
+ rows were affected by a DELETE, INSERT, REPLACE, or UPDATE
+ statement.
+ </para>
+ <para>
+ <function>mysql_query</function> will also fail and return &false;
+ if the user does not have permission to access the table(s) referenced by
+ the query.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Invalid Query</title>
+ <para>
+ The following query is syntactically invalid, so
+ <function>mysql_query</function> fails and returns &false;.
+ </para>
+ <programlisting role="php">
<![CDATA[
<?php
$result = mysql_query('SELECT * WHERE 1=1');
@@ -93,17 +92,17 @@
?>
]]>
- </programlisting>
- </example>
- </para>
+ </programlisting>
+ </example>
+ </para>
+ <para>
+ <example>
+ <title>Valid Query</title>
<para>
- <example>
- <title>Valid Query</title>
- <para>
- The following query is valid, so <function>mysql_query</function>
- returns a <type>resource</type>.
- </para>
- <programlisting role="php">
+ The following query is valid, so <function>mysql_query</function>
+ returns a <type>resource</type>.
+ </para>
+ <programlisting role="php">
<![CDATA[
<?php
// This could be supplied by a user, for example
@@ -144,25 +143,26 @@
mysql_free_result($result);
?>
]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>mysql_connect</function></member>
+ <member><function>mysql_error</function></member>
+ <member><function>mysql_real_escape_string</function></member>
+ <member><function>mysql_result</function></member>
+ <member><function>mysql_fetch_assoc</function></member>
+ <member><function>mysql_unbuffered_query</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
- <refsect1 role="seealso">
- &reftitle.seealso;
- <para>
- <simplelist>
- <member><function>mysql_connect</function></member>
- <member><function>mysql_error</function></member>
- <member><function>mysql_real_escape_string</function></member>
- <member><function>mysql_result</function></member>
- <member><function>mysql_fetch_assoc</function></member>
- <member><function>mysql_unbuffered_query</function></member>
- </simplelist>
- </para>
- </refsect1>
- </refentry>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mysql/functions/mysql-stat.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc/en/reference/mysql/functions/mysql-stat.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-stat.xml:1.11
phpdoc/en/reference/mysql/functions/mysql-stat.xml:1.12
--- phpdoc/en/reference/mysql/functions/mysql-stat.xml:1.11 Thu Mar 31
07:47:25 2005
+++ phpdoc/en/reference/mysql/functions/mysql-stat.xml Sun Jan 28 05:22:02 2007
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
-<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.62 -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.mysql-stat">
<refnamediv>
<refname>mysql_stat</refname>
<refpurpose>Get current system status</refpurpose>
</refnamediv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -16,6 +16,7 @@
<function>mysql_stat</function> returns the current server status.
</para>
</refsect1>
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
@@ -24,6 +25,7 @@
</variablelist>
</para>
</refsect1>
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
@@ -33,6 +35,7 @@
If <parameter>link_identifier</parameter> is invalid, &null; is returned.
</para>
</refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -97,6 +100,7 @@
</example>
</para>
</refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -106,6 +110,7 @@
</simplelist>
</para>
</refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file