costra Tue May 28 18:24:05 2002 EDT
Modified files:
/phpdoc-cs/reference/mysql/functions mysql-fetch-field.xml
mysql-field-flags.xml
mysql-field-len.xml
mysql-field-name.xml
mysql-field-seek.xml
mysql-field-table.xml
mysql-field-type.xml
mysql-free-result.xml
mysql-get-client-info.xml
mysql-get-host-info.xml
mysql-get-proto-info.xml
mysql-get-server-info.xml
mysql-insert-id.xml
Log:
As far as I can gather translation to Czech continues great.
Index: phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml Tue May 28 18:24:04
+2002
@@ -22,7 +22,7 @@
Vr�t� objekt obsahuj�c� informace o sloupci z v�sledku.
</para>
<para>
- <function>mysql_fetch_field</function> m�e�e pou��t v p��pad�, �e
+ <function>mysql_fetch_field</function> m��ete pou��t v p��pad�, �e
pot�ebujete z�skat informace o sloupci z ur�it�ho v�sledku. Nen�-li
specifikov�n n�zev sloupce, funkce na�te informace o prvn�m n�sleduj�c�m je�t�
nena�ten�m sloupci.</para>
Index: phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml Tue May 28 18:24:04
+2002
@@ -5,7 +5,7 @@
<refnamediv>
<refname>mysql_field_flags</refname>
<refpurpose>
- Na�te doplnuj�c� informace o polo�ce
+ Na�te p��znaky sloupce tabulky
</refpurpose>
</refnamediv>
<refsect1>
@@ -14,26 +14,24 @@
<type>string</type><methodname>mysql_field_flags</methodname>
<methodparam><type>resource</type><parameter>v�sledek</parameter></methodparam>
-
- <methodparam><type>int</type><parameter>field_offset</parameter></methodparam>
+
+ <methodparam><type>int</type><parameter>nazev_sloupce</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_field_flags</function> returns the field flags of
- the specified field. The flags are reported as a single word
- per flag separated by a single space, so that you can split the
- returned value using <function>explode</function>.
- </para>
- <para>The following flags are reported, if your version of MySQL
- is current enough to support them: "not_null", "primary_key",
- "unique_key", "multiple_key", "blob", "unsigned", "zerofill",
- "binary", "enum", "auto_increment", "timestamp".
+ <function>mysql_field_flags</function> vrac� dal�� informace o
+uveden�m sloupci tabulky. Ka�d� p��znak je reprezentov�n jedn�m slovem a jsou od
+sebe odd�leny mezerou tak, �e lze v�stup snadno rozd�lit pomoc� funkce
+<function>explode</function>. </para>
+ <para>Vr�cen� p��znaky mohou b�t n�sleduj�c� (jestli�e je va�e verze MySQL
+podporuje): "not_null", "primary_key", "unique_key", "multiple_key", "blob",
+"unsigned", "zerofill", "binary", "enum", "auto_increment", "timestamp".
</para>
<para>
- For downward compatibility <function>mysql_fieldflags</function>
- can also be used. This is deprecated, however.
- </para>
- </refsect1>
- </refentry>
+ Z d�vod� zp�tn� kompatibility m��ete tak� narazit na funkci
+<function>mysql_fieldflags</function>. Tuto funkci v�ak nedoporu�ujeme pou��vat,
+nebo� nemus� b�t ji� v dal��ch verz�ch PHP podporov�na.
+</para>
+</refsect1> </refentry>
<!-- Keep this comment at the end of the file
Local variables:
Index: phpdoc-cs/reference/mysql/functions/mysql-field-len.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-field-len.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-field-len.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-field-len.xml:1.1 Sun Apr 14 19:47:08
2002
+++ phpdoc-cs/reference/mysql/functions/mysql-field-len.xml Tue May 28 18:24:04
+2002
@@ -5,25 +5,26 @@
<refnamediv>
<refname>mysql_field_len</refname>
<refpurpose>
- Vr�t� d�lku polo�ky
+ Vr�t� d�lku sloupce tabulky
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>int</type><methodname>mysql_field_len</methodname>
-
+
<methodparam><type>resource</type><parameter>v�sledek</parameter></methodparam>
-
- <methodparam><type>int</type><parameter>field_offset</parameter></methodparam>
+
+ <methodparam><type>int</type><parameter>jmeno_sloupce</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_field_len</function> returns the length of the
- specified field.
+ <function>mysql_field_len</function> Vrac� d�lku uveden�ho sloupce
+v tabulce.
</para>
<para>
- For downward compatibility <function>mysql_fieldlen</function>
- can also be used. This is deprecated, however.
+ Z d�vod� zp�tn� kompatibility m��ete tak� narazit na funkci
+<function>mysql_fieldlen</function>. Tuto funkci v�ak nedoporu�ujeme pou��vat,
+nebo� nemus� b�t ji� v dal��ch verz�ch PHP podporov�na.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-field-name.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-field-name.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-field-name.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-field-name.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-field-name.xml Tue May 28 18:24:04
+2002
@@ -5,65 +5,65 @@
<refnamediv>
<refname>mysql_field_name</refname>
<refpurpose>
- Na�te n�zev polo�ky
+ Na�te n�zev sloupce tabulky
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>mysql_field_name</methodname>
-
+
<methodparam><type>resource</type><parameter>v�sledek</parameter></methodparam>
-
- <methodparam><type>int</type><parameter>field_index</parameter></methodparam>
+
+ <methodparam><type>int</type><parameter>��slo_sloupce</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_field_name</function> returns the name of the
- specified field index. <parameter>v�sledek</parameter> must be a
- valid result identifier and <parameter>field_index</parameter> is
- the numerical offset of the field.
- </para>
+ <function>mysql_field_name</function> vrac� jm�no uveden�ho sloupce v
+ tabulce. <parameter>v�sledek</parameter> mus� b�t platn� identifik�tor
+ spojen� a <parameter>��slo_sloupce</parameter> je po�ad� sloupce v
+tabulce. </para>
<note>
<para>
- <parameter>field_index</parameter> starts at 0.
+ <parameter>��slo_sloupce</parameter> za��n� nulou.
</para>
<para>
- e.g. The index of the third field would actually be 2, the index
- of the fourth field would be 3 and so on.
+ nap�. po�ad� t�et�ho sloupce tabulky bude ��slo 2, �tvrt� sloupec v tabulce
+m� ��slo 3, atd.
</para>
</note>
<para>
<example>
- <title><function>mysql_field_name</function> example</title>
+ <title><function>mysql_field_name</function> p��klad</title>
<programlisting role="php">
<![CDATA[
-// The users table consists of three fields:
-// user_id
-// username
-// password.
-$link = mysql_connect('localhost', $user, "secret");
-mysql_select_db($dbname, $link)
- or die("Could not set $dbname");
-$res = mysql_query("select * from users", $link);
+// Tabulka "uzivatele" m� n�sleduj�c� t�i sloupce::
+// uziv_id
+// jmeno
+// heslo.
+$link = mysql_connect('localhost', $uzivatel, "tajne");
+mysql_select_db($dbjmeno, $link)
+ or die("Nelze se p�ipojit k datab�zi $dbjmeno");
+$res = mysql_query("select * from uzivatele", $link);
echo mysql_field_name($res, 0) . "\n";
echo mysql_field_name($res, 2);
]]>
</programlisting>
<para>
- The above example would produce the following output:
+ P�edchoz� p��klad by zobrazil n�sleduj�c� v�stup:
<screen>
<![CDATA[
-user_id
-password
+uziv_id
+heslo
]]>
</screen>
</para>
</example>
</para>
<para>
- For downwards compatibility <function>mysql_fieldname</function>
- can also be used. This is deprecated, however.
+ Z d�vod� zp�tn� kompatibility m��ete tak� narazit na funkci
+<function>mysql_fieldname</function>. Tuto funkci v�ak nedoporu�ujeme pou��vat,
+nebo� nemus� b�t ji� v dal��ch verz�ch PHP podporov�na.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml Tue May 28 18:24:04
+2002
@@ -5,25 +5,24 @@
<refnamediv>
<refname>mysql_field_seek</refname>
<refpurpose>
- Nastav� ukazatel na zadan� z�znam
+ Nastav� ukazatel na zadan� sloupec
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>int</type><methodname>mysql_field_seek</methodname>
-
+
<methodparam><type>resource</type><parameter>v�sledek</parameter></methodparam>
-
+
<methodparam><type>int</type><parameter>field_offset</parameter></methodparam>
</methodsynopsis>
<para>
- Seeks to the specified field offset. If the next call to
- <function>mysql_fetch_field</function> doesn't include a field
- offset, the field offset specified in
- <function>mysql_field_seek</function> will be returned.
- </para>
- <para>
+ Nastav� ukazatel na ur�en� sloupec. Pokud n�sleduj�c� vol�n� funkce
+ <function>mysql_fetch_field</function> nem� zad�n druh� parametr (n�zev
+sloupce), vr�t� informace o sloupci ur�en�m pr�v� v
+<function>mysql_field_seek</function>. </para>
+<para>
Viz. tak�: <function>mysql_fetch_field</function>.
</para>
</refsect1>
Index: phpdoc-cs/reference/mysql/functions/mysql-field-table.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-field-table.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-field-table.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-field-table.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-field-table.xml Tue May 28 18:24:04
+2002
@@ -5,25 +5,25 @@
<refnamediv>
<refname>mysql_field_table</refname>
<refpurpose>
- Zjist� jm�no tabulky, z n�� je zadan� polo�ka
+ Zjist� jm�no tabulky, v n�� se nach�z� uveden� sloupec
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>mysql_field_table</methodname>
-
+
<methodparam><type>resource</type><parameter>v�sledek</parameter></methodparam>
-
- <methodparam><type>int</type><parameter>field_offset</parameter></methodparam>
+
+ <methodparam><type>int</type><parameter>n�zev_sloupce</parameter></methodparam>
</methodsynopsis>
<para>
- Returns the name of the table that the specifed field is
- in.
- </para>
+ Vr�t� jm�no tabulky, kter� obsahuje uveden� sloupec.
+ </para>
<para>
- For downward compatibility <function>mysql_fieldtable</function>
- can also be used. This is deprecated, however.
+ Z d�vod� zp�tn� kompatibility m��ete tak� narazit na funkci
+<function>mysql_fieldtable</function>. Tuto funkci v�ak nedoporu�ujeme pou��vat,
+nebo� nemus� b�t ji� v dal��ch verz�ch PHP podporov�na.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-field-type.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-field-type.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-field-type.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-field-type.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-field-type.xml Tue May 28 18:24:04
+2002
@@ -5,28 +5,26 @@
<refnamediv>
<refname>mysql_field_type</refname>
<refpurpose>
- Zjist� typ polo�ky v�sledku
+ Zjist� typ sloupce
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>string</type><methodname>mysql_field_type</methodname>
-
+
<methodparam><type>iresource</type><parameter>v�sledek</parameter></methodparam
>
-
- <methodparam><type>int</type><parameter>field_offset</parameter></methodparam>
+
+ <methodparam><type>int</type><parameter>n�zev_sloupce</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_field_type</function> is similar to the
- <function>mysql_field_name</function> function. The arguments are
- identical, but the field type is returned instead. The field type
- will be one of "int", "real", "string", "blob", and others as
- detailed in the <ulink url="&url.mysql.docs;">MySQL
- documentation</ulink>.
- <example>
- <title>MySQL field types</title>
+ <function>mysql_field_type</function> je podobn� funkci
+ <function>mysql_field_name</function>. Argumenty jsou toto�n�, pouze
+nam�sto jm�no vrac� typ sloupce. Sloupec m��e b�t typu: "int", "real", "string",
+"blob", a dal�� detailn� popsan� v <ulink url="&url.mysql.docs;">MySQL
+dokumentaci</ulink>. <example>
+ <title>MySQL typy sloupc�</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -38,9 +36,9 @@
$rows = mysql_num_rows($result);
$i = 0;
$table = mysql_field_table($result, $i);
-echo "Your '".$table."' table has ".$fields." fields and ".$rows." records
+echo "Tv� tabulka '".$table."' m� ".$fields." sloupc� a ".$rows." z�znam�
<BR>";
-echo "The table has the following fields <BR>";
+echo "Tabulka m� n�sleduj�c� sloupce: <BR>";
while ($i < $fields) {
$type = mysql_field_type($result, $i);
$name = mysql_field_name($result, $i);
@@ -57,8 +55,9 @@
</example>
</para>
<para>
- For downward compatibility <function>mysql_fieldtype</function>
- can also be used. This is deprecated, however.
+ Z d�vod� zp�tn� kompatibility m��ete tak� narazit na funkci
+<function>mysql_fieldtype</function>. Tuto funkci v�ak nedoporu�ujeme pou��vat,
+nebo� nemus� b�t ji� v dal��ch verz�ch PHP podporov�na.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-free-result.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-free-result.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-free-result.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-free-result.xml:1.1 Sun Apr 14
19:47:08 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-free-result.xml Tue May 28 18:24:04
+2002
@@ -14,22 +14,20 @@
<methodparam><type>resource</type><parameter>v�sledek</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_free_result</function> will free all memory
- associated with the result identifier <parameter>v�sledek</parameter>.
+ <function>mysql_free_result</function> uvoln� pam�t obsazenou v�sledkem
+ definovan�m identifik�torem spojen� <parameter>v�sledek</parameter>.
</para>
<para>
- <function>mysql_free_result</function> only needs to be called if
- you are concerned about how much memory is being used for queries
- that return large result sets. All associated result memory is
- automatically freed at the end of the script's execution.
- <!-- TODO and as of PHP4 before, see freeing resources -->
- </para>
- <para>
- &return.success;
- </para>
+ <function>mysql_free_result</function> je vhodn� pou�ivat pouze v p��pad�,
+�e v�m z�le�� na tom, jak moc pam�ti je v pr�b�hu skriptu pou��to pro vykonan�
+dotaz a kdy� v�sledek dotazu je p��li� velk�. V�echna pam�t obsazen� v�sledky
+spojen� bude jinak automaticky ulovn�na s koncem b�hu skriptu.
+<!-- TODO and as of PHP4 before, see freeing resources --> </para> <para>
+&return.success; </para>
<para>
- For downward compatibility <function>mysql_freeresult</function>
- can also be used. This is deprecated, however.
+ Z d�vod� zp�tn� kompatibility m��ete tak� narazit na funkci
+<function>mysql_freeresult</function>. Tuto funkci v�ak nedoporu�ujeme pou��vat,
+nebo� nemus� b�t ji� v dal��ch verz�ch PHP podporov�na.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml:1.1 Sun Apr 14
19:47:09 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml Tue May 28
+18:24:04 2002
@@ -4,7 +4,7 @@
<refentry id="function.mysql-get-client-info">
<refnamediv>
<refname>mysql_get_client_info</refname>
- <refpurpose>Na�te MySQL klient info</refpurpose>
+ <refpurpose>Na�te verzi klientsk� knihovny MySQL</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -13,11 +13,11 @@
<void/>
</methodsynopsis>
<para>
- <function>mysql_get_client_info</function> returns a string that
- represents the client library version.
- </para>
+ <function>mysql_get_client_info</function> vr�t� �et�zec obsahuj�c� verzi
+pou��van� klientsk� knihovny MySQL.
+ </para>
<para>
- <function>mysql_get_client_info</function> was added in PHP 4.0.5.
+ <function>mysql_get_client_info</function> byla p�id�na v PHP 4.0.5.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml:1.1 Sun Apr 14
19:47:09 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml Tue May 28 18:24:04
+2002
@@ -4,7 +4,7 @@
<refentry id="function.mysql-get-host-info">
<refnamediv>
<refname>mysql_get_host_info</refname>
- <refpurpose>Na�te MySQL host info</refpurpose>
+ <refpurpose>Na�te informaci o host v MySQL</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -14,14 +14,13 @@
choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_get_host_info</function> returns a string
- describing the type of connection in use for the connection
- <parameter>spojeni</parameter>, including the server host
- name. If <parameter>spojeni</parameter> is omited, the
- last opened connection will be used.
- </para>
+ <function>mysql_get_host_info</function> vrac� �et�zec popisuj�c�
+pou�it� typ spojen� v <parameter>spojeni</parameter>, obsahuj�c� server
+host name. Pokud <parameter>spojeni</parameter> je vynech�no, pou�ije posledn�
+otev�en� spojen�.
+ </para>
<para>
- <function>mysql_get_host_info</function> was added in PHP 4.0.5.
+ <function>mysql_get_host_info</function> byla p�id�na v PHP 4.0.5.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml:1.1 Sun Apr 14
19:47:09 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml Tue May 28
+18:24:04 2002
@@ -4,7 +4,7 @@
<refentry id="function.mysql-get-proto-info">
<refnamediv>
<refname>mysql_get_proto_info</refname>
- <refpurpose>Na�te MySQL protokol info</refpurpose>
+ <refpurpose>Na�te informace o protokolu MySQL</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -14,14 +14,14 @@
choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_get_proto_info</function> returns the protocol
- version used by connection
- <parameter>spojeni</parameter>. If
- <parameter>spojeni</parameter> is omited, the last opened
- connection will be used.
+ <function>mysql_get_proto_info</function> vrac� ��slo verze protokolu v
+pou�it�m <parameter>spojeni</parameter>. Je-li
+ <parameter>spojeni</parameter> vynech�no, pou�ije se posledn� otev�en�
+spojen�.
+
</para>
<para>
- <function>mysql_get_proto_info</function> was added in PHP 4.0.5.
+ <function>mysql_get_proto_info</function> byla p�id�na v PHP 4.0.5.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml:1.1 Sun Apr 14
19:47:09 2002
+++ phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml Tue May 28
+18:24:04 2002
@@ -4,7 +4,7 @@
<refentry id="function.mysql-get-server-info">
<refnamediv>
<refname>mysql_get_server_info</refname>
- <refpurpose>Na�te MySQL server info</refpurpose>
+ <refpurpose>Na�te informace o serveru MySQL</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
@@ -14,14 +14,13 @@
choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_get_server_info</function> returns the server
- version used by connection
- <parameter>spojeni</parameter>. If
- <parameter>spojeni</parameter> is omited, the last opened
- connection will be used.
+ <function>mysql_get_server_info</function> vr�t� verzi serveru v pou�it�m
+ <parameter>spojeni</parameter>. Pokud je
+ <parameter>spojeni</parameter> vynech�no, pou�ije se posledn� otev�en�
+spojen�.
</para>
<para>
- <function>mysql_get_server_info</function> was added in PHP 4.0.5.
+ <function>mysql_get_server_info</function> byla p�id�na PHP 4.0.5.
</para>
</refsect1>
</refentry>
Index: phpdoc-cs/reference/mysql/functions/mysql-insert-id.xml
diff -u phpdoc-cs/reference/mysql/functions/mysql-insert-id.xml:1.1
phpdoc-cs/reference/mysql/functions/mysql-insert-id.xml:1.2
--- phpdoc-cs/reference/mysql/functions/mysql-insert-id.xml:1.1 Sun Apr 14 19:47:09
2002
+++ phpdoc-cs/reference/mysql/functions/mysql-insert-id.xml Tue May 28 18:24:04
+2002
@@ -17,38 +17,35 @@
</parameter></methodparam>
</methodsynopsis>
<para>
- <function>mysql_insert_id</function> returns the ID generated for
- an AUTO_INCREMENT column by the previous INSERT query using the
- given <parameter>spojeni</parameter>. If
- <parameter>spojeni</parameter> isn't specified, the last
- opened link is assumed.
- </para>
+ <function>mysql_insert_id</function> vrac� hodnotu ID vygenerovanou
+pro sloupec AUTO_INCREMENT p�edchoz�m dotazem typu INSERT indetifikovan�
+parametrem <parameter>spojeni</parameter>. Pokud je
+ <parameter>spojeni</parameter> vynech�no, pou�ije se posledn� otev�en�
+spojen�.
+ </para>
<para>
- <function>mysql_insert_id</function> returns 0 if the previous
- query does not generate an AUTO_INCREMENT value. If you need to
- save the value for later, be sure to call
- <function>mysql_insert_id</function> immediately after the
- query that generates the value.
- </para>
+ <function>mysql_insert_id</function> vrac� 0 pokud pro p�edchoz� dotaz
+nebyla vygenerov�na ��dn� hodnota pomoc� AUTO_INCREMENT. I v p��pad�,
+�e pot�ebujete hodnotu pou��t pozd�ji, dbejte na to, abyste funkci
+<function>mysql_insert_id</function> okam�it� po dotazu, pro n�j� byla
+vygenerov�na hodnota pomoc� AUTO_INCREMENT.
+</para>
<note>
<para>
- The value of the MySQL SQL function
- <literal>LAST_INSERT_ID()</literal> always contains the most
- recently generated AUTO_INCREMENT value, and is not reset
- between queries.
- </para>
- </note>
- <warning>
+ Hodnota MySQL SQL funkce
+ <literal>LAST_INSERT_ID()</literal> v�dy obsahuje nejvy��� posledn�
+vygenerovanou hodnotu AUTO_INCREMENT a nen� mezi dal��mi dotazy
+vynulov�na.
+ </para>
+ </note>
+ <warning>
<para>
- <function>mysql_insert_id</function> converts the return type of
- the native MySQL C API function
- <literal>mysql_insert_id()</literal> to a type of
- <literal>long</literal> (named <type>int</type> in PHP).
- If your AUTO_INCREMENT column has a column type of BIGINT,
- the value returned by <function>mysql_insert_id</function>
- will be incorrect. Instead, use the internal MySQL SQL function
- <literal>LAST_INSERT_ID()</literal> in an SQL query.
- </para>
+ <function>mysql_insert_id</function> p�ev�d� typ vr�cen� nativn� MySQL C
+API funkc� <literal>mysql_insert_id()</literal> z typu <literal>long</literal>
+(ekvivalent v PHP <type>int</type>). Pokud je sloupec AUTO_INCREMENT typu
+BIGINT, hodnota vr�cen� <function>mysql_insert_id</function>
+bude nespr�vn�. M�sto toho pou�ijte vnit�n� MySQL SQL funkci
+<literal>LAST_INSERT_ID()</literal> p��mo v SQL dotazu. </para>
</warning>
</refsect1>
</refentry>