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

[email protected] ("Pavel Novak") Tue, 08 Apr 2003 19:15:11 -0000
Newsgroups php.doc.cs
Message-ID <cvscostra1049829311@cvsserver>
costra		Tue Apr  8 15:15:11 2003 EDT

  Added files:                 
    /phpdoc-cs/reference/mysql/functions	mysql-client-encoding.xml 
  Log:
  Added from en
  
  

Index: phpdoc-cs/reference/mysql/functions/mysql-client-encoding.xml
+++ phpdoc-cs/reference/mysql/functions/mysql-client-encoding.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- EN-Revision: 1.2 Maintainer: costra Status: ready -->
  <refentry id="function.mysql-character-set-name">
   <refnamediv>
    <refname>mysql_client_encoding</refname>
    <refpurpose>Vrátí název znakové sady</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Popis</title>
    <methodsynopsis>
     <type>int</type><methodname>mysql_client_encoding</methodname>
     <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
    </methodsynopsis>
    <para>
     <function>mysql_client_encoding</function> vrátí výchozí název znakové
     sady pro aktuální spojení.
    </para>
     <example>
      <title><function>mysql_client_encoding</function> pøíklad</title>
      <programlisting role="php">
<![CDATA[
<?php
$link = mysql_connect('localhost', 'mysql_uziv', 'mysql_heslo');
$charset = mysql_client_encoding($link);
printf ("aktuální znaková sada je %s\n", $charset);
?>
]]>
      </programlisting>
      <para>
       Pøedchozí pøíklad mù¾e mít následující výstup:
       <screen>
<![CDATA[
aktuální znaková sada je latin1
]]>
       </screen>
      </para>
     </example>
    <para>
     Viz. také:
     <function>mysql_real_escape_string</function>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->