cvs: phpdoc-da /reference/mysql/functions mysql-client-encoding.xml

[email protected] ("Mads N. Vestergaard") Tue, 14 Jun 2005 21:46:35 -0000
Newsgroups php.doc.da
Message-ID <cvsmnv1118785595@cvsserver>
mnv		Tue Jun 14 17:46:35 2005 EDT

  Modified files:              
    /phpdoc-da/reference/mysql/functions	mysql-client-encoding.xml 
  Log:
  Sync with EN
  
  
http://cvs.php.net/diff.php/phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml
diff -u phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml:1.2 phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml:1.3
--- phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml:1.2	Sat Jul 17 15:38:41 2004
+++ phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml	Tue Jun 14 17:46:35 2005
@@ -1,48 +1,73 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- EN-Revision: 1.6 Maintainer: mnv Status: ready -->
-  <refentry id="function.mysql-client-encoding">
-   <refnamediv>
-    <refname>mysql_client_encoding</refname>
-    <refpurpose>Returnerer det nuværende tegnsæt</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Beskrivelse</title>
-    <methodsynopsis>
-     <type>string</type><methodname>mysql_client_encoding</methodname>
-     <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
-    </methodsynopsis>
-    <para>
-     <function>mysql_client_encoding</function> returnerer standard tegnsæt, for den nuværende aktive forbindelse.
-    </para>
-    <para>
-     <example>
-      <title><function>mysql_client_encoding</function> eksempel</title>
-      <programlisting role="php">
+<refentry id="function.mysql-client-encoding">
+ <refnamediv>
+  <refname>mysql_client_encoding</refname>
+  <refpurpose>Returnerer det nuværende tegnsæt</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <type>string</type><methodname>mysql_client_encoding</methodname>
+   <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Henter <literal>character_set</literal> variablen fra MySQL.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <para>
+   <variablelist>
+    &mysql.linkid.description;
+   </variablelist>
+  </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Returnerer standard tegnsættet fra den nuværende, aktive forbindelse.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <para>
+   <example>
+    <title><function>mysql_client_encoding</function> eksempel</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
-$link = mysql_connect('localhost', 'mysql_bruger', 'mysql_password');
+$link    = mysql_connect('localhost', 'mysql_bruger', 'mysql_kode');
 $charset = mysql_client_encoding($link);
-printf("Nuværende tegnsæt er %s\n", $charset);
+
+echo "Det nuværende tegnsæt er: $charset\n";
 ?>
 ]]>
-      </programlisting>
-      <para>
-       Ovenstående eksempel vil give følgende output:
-      </para>
-      <screen>
+    </programlisting>
+    &example.outputs.similar;
+    <screen>
 <![CDATA[
-Nuværende tegnsæt er latin1
+Det nuværende tegnsæt er: latin1
 ]]>
-      </screen>
-     </example>
-    </para>
-    <para>
-     Se også
-     <function>mysql_real_escape_string</function>
-    </para>
-   </refsect1>
-  </refentry>
+    </screen>
+   </example>
+  </para>
+ </refsect1>
+ 
+ <refsect1 role="seealso">
+  &reftitle.seealso;
+  <para>
+   <simplelist>
+    <member><function>mysql_real_escape_string</function></member>
+   </simplelist>
+  </para>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables: