cvs: phpdoc-da /reference/mysql/functions mysql-connect.xml mysql-data-seek.xml mysql-drop-db.xml mysql-fetch-array.xml mysql-fetch-object.xml mysql-field-flags.xml mysql-field-type.xml

[email protected] ("Mads N. Vestergaard") Wed, 29 Sep 2004 08:20:53 -0000
Newsgroups php.doc.da
Message-ID <cvsmnv1096446053@cvsserver>
mnv		Wed Sep 29 04:20:53 2004 EDT

  Modified files:              
    /phpdoc-da/reference/mysql/functions	mysql-connect.xml 
                                        	mysql-data-seek.xml 
                                        	mysql-drop-db.xml 
                                        	mysql-fetch-array.xml 
                                        	mysql-fetch-object.xml 
                                        	mysql-field-flags.xml 
                                        	mysql-field-type.xml 
  Log:
  Sync with EN
mnv-20040929042053.txt (text/plain, 11.3 KB)
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-connect.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-connect.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-connect.xml:1.3 phpdoc-da/reference/mysql/functions/mysql-connect.xml:1.4
--- phpdoc-da/reference/mysql/functions/mysql-connect.xml:1.3	Wed Aug  4 13:35:16 2004
+++ phpdoc-da/reference/mysql/functions/mysql-connect.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.12 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.13 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-connect">
    <refnamediv>
     <refname>mysql_connect</refname>
@@ -71,8 +71,9 @@
      <function>mysql_connect</function> er blevet kaldt før med de samme 
      parametre. <parameter>client_flags</parameter>
      parameteren kan være en kombination af følgende konstanter
-     MYSQL_CLIENT_COMPRESS, MYSQL_CLIENT_IGNORE_SPACE eller
-     MYSQL_CLIENT_INTERACTIVE.
+     <constant>MYSQL_CLIENT_COMPRESS</constant>,
+     <constant>MYSQL_CLIENT_IGNORE_SPACE</constant> eller
+     <constant>MYSQL_CLIENT_INTERACTIVE</constant>.
     </para>
     <note>
      <para>
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-data-seek.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-data-seek.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-data-seek.xml:1.4 phpdoc-da/reference/mysql/functions/mysql-data-seek.xml:1.5
--- phpdoc-da/reference/mysql/functions/mysql-data-seek.xml:1.4	Sun Sep 19 05:55:29 2004
+++ phpdoc-da/reference/mysql/functions/mysql-data-seek.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.12 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.13 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-data-seek">
    <refnamediv>
     <refname>mysql_data_seek</refname>
@@ -14,20 +14,20 @@
       <methodparam><type>int</type><parameter>row_number</parameter></methodparam>
      </methodsynopsis>
     <para>
-     &return.success;
-    </para>
-    <para>
      <function>mysql_data_seek</function> flytter der interne række reference af 
      MySQL resultatet associeret med den specificerede result_identifier, til at
      pege på den specificerede række, så <function>mysql_fetch_row</function> vil
      returnere denne række.
     </para>
     <para>
-     <parameter>row_number</parameter> starter ved 0. Parameteren <parameter>
-     row_number</parameter> skal være indenfor værdimængden 0 til
-     mysql_num_rows - 1. Men hvis resultatsættet er tomt (mysql_num_rows ==
-     0), vil en søgning til 0 resultere i en fejl med <link linkend="e-warning">E_WARNING
-     </link> og <function>mysql_data_seek</function> vil returnere &false;.
+    &return.success;
+    </para>
+    <para>
+    <parameter>row_number</parameter> starter ved 0.
+    <parameter>row_number</parameter> skal altid være en værdi startende fra 0 tilo
+    <function>mysql_num_rows</function> - 1. Hvis resultat sættet er tomt
+    (<function>mysql_num_rows</function> == 0), vil en søgning til 0, resultere     i en <link linkend="e-warning">E_WARNING</link> og
+    <function>mysql_data_seek</function> vil returnere &false;.
     </para>
     <note>
      <para>
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-drop-db.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-drop-db.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-drop-db.xml:1.3 phpdoc-da/reference/mysql/functions/mysql-drop-db.xml:1.4
--- phpdoc-da/reference/mysql/functions/mysql-drop-db.xml:1.3	Sat Aug  7 20:50:51 2004
+++ phpdoc-da/reference/mysql/functions/mysql-drop-db.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.9 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.10 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-drop-db">
    <refnamediv>
     <refname>mysql_drop_db</refname>
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-fetch-array.xml?r1=1.8&r2=1.9&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-fetch-array.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-fetch-array.xml:1.8 phpdoc-da/reference/mysql/functions/mysql-fetch-array.xml:1.9
--- phpdoc-da/reference/mysql/functions/mysql-fetch-array.xml:1.8	Sun Sep 19 06:02:32 2004
+++ phpdoc-da/reference/mysql/functions/mysql-fetch-array.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
-<!-- EN-Revision: 1.17 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.9 $ -->
+<!-- EN-Revision: 1.18 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-fetch-array">
    <refnamediv>
     <refname>mysql_fetch_array</refname>
@@ -53,22 +53,22 @@
      Den anden valgfri parameter <parameter>result_type</parameter>
      i <function>mysql_fetch_array</function> er en konstant, og kan 
      indeholde en af følgende værdier: 
-     MYSQL_ASSOC, MYSQL_NUM, og MYSQL_BOTH. Denne mulighed er tilføjet i
-     PHP 3.0.7. MYSQL_BOTH er standard parameter.
+     <constant>MYSQL_ASSOC</constant>, <constant>MYSQL_NUM</constant>, og <constant>MYSQL_BOTH</constant>. Denne mulighed er tilføjet i
+     PHP 3.0.7. <constant>MYSQL_BOTH</constant> er standard parameter.
     </para>
     <para>
-     Ved at benytte MYSQL_BOTH, vil du få et array med både associationer 
+     Ved at benytte <constant>MYSQL_BOTH</constant>, vil du få et array med både associationer 
      og nummererede arrays.
-     Ved at benytte MYSQL_ASSOC, vil du kun få associative
+     Ved at benytte <constant>MYSQL_ASSOC</constant>, vil du kun få associative
      array (ligesom <function>mysql_fetch_assoc</function> virker),
-     bruger du MYSQL_NUM, får du kun nummererede arrays (ligesom
+     bruger du <constant>MYSQL_NUM</constant>, får du kun nummererede arrays (ligesom
      <function>mysql_fetch_row</function> virker).
     </para>
     &database.field-case;
     &database.fetch-null;
     <para>
      <example>
-      <title><function>mysql_fetch_array</function> med MYSQL_NUM</title>
+      <title><function>mysql_fetch_array</function> med <constant>MYSQL_NUM</constant></title>
       <programlisting role="php">
 <![CDATA[
 <?php
@@ -88,7 +88,7 @@
       </programlisting>
      </example>
      <example>
-      <title><function>mysql_fetch_array</function> med MYSQL_ASSOC</title>
+      <title><function>mysql_fetch_array</function> med <constant>MYSQL_ASSOC</constant></title>
       <programlisting role="php">
 <![CDATA[
 <?php
@@ -108,7 +108,7 @@
       </programlisting>
      </example>
      <example>
-      <title><function>mysql_fetch_array</function> med MYSQL_BOTH</title>
+      <title><function>mysql_fetch_array</function> med <constant>MYSQL_BOTH</constant></title>
       <programlisting role="php">
 <![CDATA[
 <?php
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-fetch-object.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-fetch-object.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-fetch-object.xml:1.4 phpdoc-da/reference/mysql/functions/mysql-fetch-object.xml:1.5
--- phpdoc-da/reference/mysql/functions/mysql-fetch-object.xml:1.4	Sun Sep 19 06:09:08 2004
+++ phpdoc-da/reference/mysql/functions/mysql-fetch-object.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.9 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.10 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-fetch-object">
    <refnamediv>
     <refname>mysql_fetch_object</refname>
@@ -26,9 +26,12 @@
     &database.field-case;
     &database.fetch-null;
     <para>
+     <example>
+     <title><function>mysql_fetch_object</function> eksempel</title>
      <programlisting role="php">
 <![CDATA[
 <?php
+$row = mysql_fetch_object($result);
 
 /* Dette er korrekt */
 echo $row->field;
@@ -37,7 +40,8 @@
 
 ?>
 ]]>
-     </programlisting>
+      </programlisting>
+     </example>
     </para>
     <para>
      Hvad angår hastighed, kan funktionen sammenlignes med,
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-field-flags.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-field-flags.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-field-flags.xml:1.2 phpdoc-da/reference/mysql/functions/mysql-field-flags.xml:1.3
--- phpdoc-da/reference/mysql/functions/mysql-field-flags.xml:1.2	Sat Sep 25 14:46:27 2004
+++ phpdoc-da/reference/mysql/functions/mysql-field-flags.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.3 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.4 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-field-flags">
    <refnamediv>
     <refname>mysql_field_flags</refname>
@@ -22,9 +22,12 @@
      værdi, ved at bruge <function>explode</function>.
     </para>
     <para>Følgende flag er returneret hvis din version af MySQL 
-     understøtter dem: "not_null", "primary_key",
-     "unique_key", "multiple_key", "blob", "unsigned", "zerofill",
-     "binary", "enum", "auto_increment", "timestamp".
+     understøtter dem: <literal>"not_null"</literal>,
+     <literal>"primary_key"</literal>, <literal>"unique_key"</literal>,
+     <literal>"multiple_key"</literal>, <literal>"blob"</literal>,
+     <literal>"unsigned"</literal>, <literal>"zerofill"</literal>,
+     <literal>"binary"</literal>, <literal>"enum"</literal>,
+     <literal>"auto_increment"</literal>, <literal>"timestamp"</literal>.
     </para>
     <para>
      <example>
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-field-type.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-field-type.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-field-type.xml:1.1 phpdoc-da/reference/mysql/functions/mysql-field-type.xml:1.2
--- phpdoc-da/reference/mysql/functions/mysql-field-type.xml:1.1	Mon Sep 27 04:04:25 2004
+++ phpdoc-da/reference/mysql/functions/mysql-field-type.xml	Wed Sep 29 04:20:49 2004
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.8 Maintainer: mnv Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.9 Maintainer: mnv Status: ready -->
   <refentry id="function.mysql-field-type">
    <refnamediv>
     <refname>mysql_field_type</refname>
@@ -19,8 +19,8 @@
      <function>mysql_field_type</function> ligner
      <function>mysql_field_name</function> funktionen. Parametrene er
      identiske, men istedet returnerer den felt typen. Felt typen 
-     vil være en af "int", "real", "string", "blob", og andre defineret
-     i <ulink url="&url.mysql.docs;">MySQL dokumentationen</ulink>.
+     vil være en af <literal>"int"</literal>, <literal>"real"</literal>,
+     <literal>"string"</literal>, <literal>"blob"</literal>, og andre defineret      i <ulink url="&url.mysql.docs;">MySQL dokumentationen</ulink>.
      <example>
       <title><function>mysql_field_type</function> eksempel</title>
       <programlisting role="php">