costra Mon Mar 4 16:12:41 2002 EDT Modified files: /phpdoc/cs/functions mysql.xml Log: Some translations to Czech
Index: phpdoc/cs/functions/mysql.xml diff -u phpdoc/cs/functions/mysql.xml:1.2 phpdoc/cs/functions/mysql.xml:1.3 --- phpdoc/cs/functions/mysql.xml:1.2 Sat Mar 2 20:15:48 2002 +++ phpdoc/cs/functions/mysql.xml Mon Mar 4 16:12:41 2002 @@ -133,15 +133,15 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_affected_rows</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> <function>mysql_affected_rows</function> vrátí počet záznamů ovlivněných posledním použitím dotazu INSERT, UPDATE nebo DELETE, - kterému odpovídá <parameter>identifikator_spojeni</parameter>. - Není-li identifikátor spojení není uveden, použije se poslední + kterému odpovídá <parameter>spojeni</parameter>. + Není-li identifikátor spojení uveden, použije se poslední spojení otevřené pomocí <function>mysql_connect</function>. </para> <note> @@ -188,20 +188,20 @@ <title>Charakteristika</title> <methodsynopsis> <type>int</type><methodname>mysql_change_user</methodname> - + <methodparam><type>string</type><parameter>uzivatel</parameter></methodparam> <methodparam><type>string</type><parameter>heslo</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter> databaze </parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> <function>mysql_change_user</function> změní přihlášeného uživatele současného aktivního spojení nebo spojení definované nepovinným parametrem - <parameter>identifikator_spojeni</parameter>. Je-li uveden parameter + <parameter>spojeni</parameter>. Je-li uveden parameter <parameter>databaze</parameter> nastaví se tato databáze jako výchozí, v opačném případě zůstane aktivní současná databáze definovaná ve změněném spojení. @@ -228,8 +228,8 @@ <title>Popis</title> <methodsynopsis> <type>bool</type><methodname>mysql_close</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> @@ -237,7 +237,7 @@ </para> <para> <function>mysql_close</function> uzavře spojení s MySQL serverem, které je asociováno se určitým identikátorem spojení - Pokud <parameter>identifikator_spojeni</parameter> není zadán + Pokud <parameter>spojeni</parameter> není zadán uzavře poslední otevřené spojení. </para> <para> @@ -281,72 +281,70 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_connect</methodname> + <type>resource</type><methodname>mysql_connect</methodname> <methodparam choice="opt"><type>string</type><parameter> server </parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter> - username + uziv_jmeno </parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter> - password + heslo </parameter></methodparam> </methodsynopsis> <para> - Returns a MySQL link identifier on success, or &false; on failure. + Je-li spojení úspěšné vrátí identifikátor spojení v opačném případě + &false. </para> <para> - <function>mysql_connect</function> establishes a connection - to a MySQL server. The following defaults are assumed for - missing optional parameters: <parameter>server</parameter> = - 'localhost:3306', <parameter>username</parameter> = name of the - user that owns the server process and - <parameter>password</parameter> = empty password. - </para> + <function>mysql_connect</function> vytvoří spojení s MySQL serverem. + Nejsou-li zádány nepovinné parametry, použijí se následující hodnoty: + + <parameter>server</parameter> = 'localhost:3306', + <parameter>uziv_jmeno</parameter> = jméno uživatele, pod kterým běží +právě spuštěný skript a +<parameter>heslo</parameter> = bez hesla. </para> <para> - The <parameter>server</parameter> parameter can also include a port - number. eg. "hostname:port" or a path to a socket - eg. ":/path/to/socket" for the localhost. + Parametr <parameter>server</parameter> může obsahovat číslo portu ve tvaru + "hostname:port" nebo cestu k socketu ve tvaru + ":/cesta/k/socketu" pro localhost. <note> <para> - Support for ":port" was added in PHP 3.0B4. + Podpora pro ":port" byla přidána v PHP 3.0B4. </para> <para> - Support for ":/path/to/socket" was added in + Podpora pro ":/cesta/k/socketu" byla přidána v PHP 3.0.10. </para> <para> - You can suppress the error message on failure by prepending '@' - to the function name. + Chybovou hlášku lze potlačit přidáním '@' před jméno funkce. </para> </note> </para> <para> - If a second call is made to <function>mysql_connect</function> - with the same arguments, no new link will be established, but - instead, the link identifier of the already opened link will be - returned. + Bude-li funkce <function>mysql_connect</function> zavolána podruhé + se stejnými parametry, nebude vytvořeno nové spojení, ale použije se + stávající se stejným identifikátorem spojení. </para> <para> - The link to the server will be closed as soon as the execution of - the script ends, unless it's closed earlier by explicitly calling - <function>mysql_close</function>. + Spojení se serverem bude ukončeno automaticky po skončení běhu skriptu + nebude-li dříve zavolána funkce <function>mysql_close</function>. </para> <example> - <title>MySQL connect example</title> + <title>MySQL příklad spojení</title> <programlisting role="php"> <![CDATA[ <?php - $link = mysql_connect("localhost", "username", "secret") + $link = mysql_connect("localhost", "uziv_jmeno", "tajne") or die("Nelze se připojit"); - print ("Connected successfully"); + print ("Spojení navázáno"); mysql_close($link); ?> ]]> </programlisting> </example> <para> Viz. také - <function>mysql_pconnect</function> and + <function>mysql_pconnect</function> a <function>mysql_close</function>. </para> </refsect1> @@ -361,41 +359,39 @@ <title>Popis</title> <methodsynopsis> <type>bool</type><methodname>mysql_create_db</methodname> - <methodparam><type>string</type><parameter>database - name</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam><type>string</type><parameter>jméno databáze +</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> - <function>mysql_create_db</function> attempts to create a new - database on the server associated with the specified link - identifier. + <function>mysql_create_db</function> vytvoří na serveru +identifikovaném parametrem spojeni novou databázi. </para> <para> &return.success; </para> <example> - <title>MySQL create database example</title> + <title>MySQL příklad vytvoření nové databáze</title> <programlisting role="php"> <![CDATA[ <?php $link = mysql_pconnect("kron", "jutta", "geheim") or exit("Nelze se připojit"); - if (mysql_create_db("my_db")) { - print ("Database created successfully\n"); + if (mysql_create_db("moje_db")) { + print ("Databáze byla vytvořena\n"); } else { - printf ("Error creating database: %s\n", mysql_error ()); + printf ("Chyba při vytváření databáze: %s\n", mysql_error ()); } ?> ]]> </programlisting> </example> <para> - For downwards compatibility <function>mysql_createdb</function> - can also be used. This is deprecated, however. - </para> - <para> + Kvůli zpětné kompatibilitě je možné použít i +<function>mysql_createdb</function>. Není to však doporučeno.</para> + <para> Viz. také: <function>mysql_drop_db</function>. </para> </refsect1> @@ -410,25 +406,21 @@ <title>Popis</title> <methodsynopsis> <type>bool</type><methodname>mysql_data_seek</methodname> - <methodparam><type>zdroj</type><parameter>result_identifier</parameter></methodparam> - <methodparam><type>int</type><parameter>row_number</parameter></methodparam> </methodsynopsis> <para> &return.success; </para> <para> - <function>mysql_data_seek</function> moves the internal row - pointer of the MySQL result associated with the specified result - identifier to point to the specified row number. The next call - to <function>mysql_fetch_row</function> would return that row. - </para> - <para> - <parameter>Row_number</parameter> starts at 0. + <function>mysql_data_seek</function> přesune interní ukazatel výsledku + MySQL na záznam specifikovaný číslem záznamu. Následné volání funkce + <function>mysql_fetch_row</function> načte požadovaný záznam. +</para> <para> + Není-li zadáno <parameter>cislo_zaznamu</parameter> začíná se od 0. </para> <example> - <title>MySQL data seek example</title> + <title>MySQL příklad přesunutí ukazatele</title> <programlisting role="php"> <![CDATA[ <?php @@ -436,17 +428,17 @@ or die("Nelze se připojit"); mysql_select_db("samp_db") - or exit("Could not select database"); + or exit("Nelze vybrat databázi"); $query = "SELECT last_name, first_name FROM friends"; $result = mysql_query($query) - or die("Query failed"); + or die("Chyba dotazu"); - // fetch rows in reverse order + // načtení záznamů v obráceném pořadí for ($i = mysql_num_rows($result) - 1; $i >=0; $i--) { if (!mysql_data_seek($result, $i)) { - echo "Cannot seek to row $i\n"; + echo "Nelze nalézt záznam $i\n"; continue; } @@ -473,33 +465,31 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_db_name</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>row</parameter></methodparam> + + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> + <methodparam><type>int</type><parameter>záznam</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter> field </parameter></methodparam> </methodsynopsis> <para> - <function>mysql_db_name</function> takes as its first parameter - the result pointer from a call to - <function>mysql_list_dbs</function>. The - <parameter>row</parameter> parameter is an index into the result - set. + První parametr funkce <function>mysql_db_name</function> obsahuje +identifikátor volání <function>mysql_list_dbs</function>. Parametr + <parameter>záznam</parameter> určuje pořadí databáze ve výsledku. </para> <para> - If an error occurs, &false; is returned. Use - <function>mysql_errno</function> and - <function>mysql_error</function> to determine the nature of the - error. + Nastane-li chyba vrací &false;. Použitím + <function>mysql_errno</function> a + <function>mysql_error</function> zjistíte chybovou hlášku. </para> <example> - <title><function>mysql_db_name</function> example</title> + <title><function>mysql_db_name</function> příklad</title> <programlisting role="php"> <![CDATA[ <?php error_reporting(E_ALL); -mysql_connect('dbhost', 'username', 'password'); +mysql_connect('dbhost', 'uziv_jmeno', 'heslo'); $db_list = mysql_list_dbs(); $i = 0; @@ -513,9 +503,8 @@ </programlisting> </example> <para> - For backward compatibility, <function>mysql_dbname</function> is - also accepted. This is deprecated, however. - </para> + Kvůli zpětné kompatibilitě lze použít i <function>mysql_dbname</function>. +Není to však doporučeno.</para> </refsect1> </refentry> @@ -527,25 +516,24 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_db_query</methodname> - - <methodparam><type>string</type><parameter>database</parameter></methodparam> - <methodparam><type>string</type><parameter>query</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <type>resource</type><methodname>mysql_db_query</methodname> + + <methodparam><type>string</type><parameter>databáze</parameter></methodparam> + <methodparam><type>string</type><parameter>dotaz</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> - Returns a positive MySQL result resource to the query result, - or &false; on error. - </para> + Vrátí identifikátor výsledku dotazu do určené databáze nebo &false; +nastane-li chyba</para> <para> - <function>mysql_db_query</function> selects a database and - executes a query on it. If the optional link identifier isn't - specified, the function will try to find an open link to the - MySQL server and if no such link is found it'll try to create one - as if <function>mysql_connect</function> was called with no - arguments + <function>mysql_db_query</function> provede dotaz v databázi specifikované + parametrem <parameter>database</database>. + Není-li identifikátor databáze uveden, funkce se pokusí nalézt již + otevřené spojení s MySQL serverem. Pokud není žádné aktivní spojení + nalezeno, pokusí se vytvořit nové spojení s výchozími hodnotami funkce + <function>mysql_connect</function> </para> <para> Viz. také <function>mysql_connect</function> and @@ -554,9 +542,9 @@ <para> <note> <simpara> - This function has been deprecated since PHP 4.0.6. - Do not use this function. Use <function>mysql_select_db</function> - and <function>mysql_query</function> instead. + Tato funkce není od verze PHP 4.0.6 podporována. Místo této funkce + použijte<function>mysql_select_db</function> a + <function>mysql_query</function>. </simpara> </note> </para> @@ -572,25 +560,21 @@ <title>Popis</title> <methodsynopsis> <type>bool</type><methodname>mysql_drop_db</methodname> - - <methodparam><type>string</type><parameter>database_name</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni - </parameter></methodparam> - </methodsynopsis> - <para> - &return.success; - </para> - <para> - <function>mysql_drop_db</function> attempts to drop (remove) an - entire database from the server associated with the specified - link identifier. + <methodparam> + <type>string</type><parameter>database_name</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter> spojeni +</parameter></methodparam> </methodsynopsis> <para> +&return.success; </para> + <para> + <function>mysql_drop_db</function> odstraní ze serveru databázi uvedeného +jména pod specifikovaným identifikátorem spojení. </para> <para> - For downward compatibility <function>mysql_dropdb</function> - can also be used. This is deprecated, however. + Kvůli zpětné kompatibilitě se můžete setkat i s +<function>mysql_dropdb</function>. Nedoporučujeme však používat. Tento zápis +nemusí být v příštích verzích PHP podporován. </para> - <para> + <para> Viz. také: <function>mysql_create_db</function>. </para> </refsect1> @@ -600,39 +584,40 @@ <refnamediv> <refname>mysql_errno</refname> <refpurpose> - Vrátí číslenou hodnotu chybové zprávy předchozího MySQL příkazu. + Vrátí číslenou hodnotu chybové hlášky předchozího MySQL příkazu. </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_errno</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> - Returns the error number from the last MySQL function, or - <literal>0</literal> (zero) if no error occurred. + Vrátí číselnou hodnotu chybové hlášky vyvolané poslední MySQL + funkcí nebo <literal>0</literal> (nulu), pokud nenastala žádná chyba. </para> <para> + Errors coming back from the MySQL database backend no longer - issue warnings. Instead, use <function>mysql_errno</function> to - retrieve the error code. Note that this function only returns the - error code from the most recently executed MySQL function (not - including <function>mysql_error</function> and - <function>mysql_errno</function>), so if you want to use it, - make sure you check the value before calling another mySQL - function. + issue (vydat, uveřejnit) warnings. Instead, use + <function>mysql_errno</function> to retrieve the error code. + + Pamatujte, že tato funkce vrací chybový kód pouze naposledy vykonané + MySQL funkce (netýká se <function>mysql_error</function> a + <function>mysql_errno</function>), pokud ji tedy budete používat, + musíte kontrolovat hodnotu ještě před voláním další MySQL funkce. <informalexample> <programlisting role="php"> <![CDATA[ <?php mysql_connect("marliesle"); echo mysql_errno().": ".mysql_error()."<BR>"; -mysql_select_db("nonexistentdb"); +mysql_select_db("neexistujicidb"); echo mysql_errno().": ".mysql_error()."<BR>"; -$conn = mysql_query("SELECT * FROM nonexistenttable"); +$conn = mysql_query("SELECT * FROM neexistujicitabulka"); echo mysql_errno().": ".mysql_error()."<BR>"; ?> ]]> @@ -656,13 +641,14 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_error</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> - Returns the error text from the last MySQL function, or - <literal>''</literal> (the empty string) if no error occurred. + Vrátí text chybové zprávy posledního MySQL příkazu nebo + <literal>''</literal> (prázdný řetězec) pokud žádná chyba + nenastala. </para> <para> Errors coming back from the MySQL database backend no longer @@ -705,7 +691,8 @@ <methodsynopsis> <type>string</type><methodname>mysql_escape_string</methodname> - <methodparam><type>string</type><parameter>unescaped_string</parameter></methodparam> + <methodparam><type>string</type><parameter>unescaped_string</parameter></method +param> </methodsynopsis> <para> This function will escape the <parameter>unescaped_string</parameter>, @@ -731,7 +718,8 @@ <title>Popis</title> <methodsynopsis> <type>array</type><methodname>mysql_fetch_array</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter> result_type </parameter></methodparam> @@ -819,7 +807,7 @@ <title>Popis</title> <methodsynopsis> <type>array</type><methodname>mysql_fetch_assoc</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> </methodsynopsis> <para> Returns an associative array that corresponds to the fetched row, @@ -885,7 +873,7 @@ <title>Popis</title> <methodsynopsis> <type>object</type><methodname>mysql_fetch_field</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter> field_offset </parameter></methodparam> @@ -973,7 +961,7 @@ or die ("Nelze se připojit"); mysql_select_db("database"); $result = mysql_query("select * from table") - or die("Query failed"); + or die("Chyba dotazu"); # get column metadata $i = 0; while ($i < mysql_num_fields($result)) { @@ -1020,7 +1008,7 @@ <title>Popis</title> <methodsynopsis> <type>array</type><methodname>mysql_fetch_lengths</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> </methodsynopsis> <para> Returns an array that corresponds to the lengths of each field @@ -1052,7 +1040,7 @@ <title>Popis</title> <methodsynopsis> <type>object</type><methodname>mysql_fetch_object</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter> result_type </parameter></methodparam> @@ -1114,7 +1102,7 @@ <title>Popis</title> <methodsynopsis> <type>array</type><methodname>mysql_fetch_row</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> </methodsynopsis> <para> Returns an array that corresponds to the fetched row, or &false; @@ -1152,7 +1140,7 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_field_flags</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -1185,13 +1173,13 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_field_name</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>field_index</parameter></methodparam> </methodsynopsis> <para> <function>mysql_field_name</function> returns the name of the - specified field index. <parameter>result</parameter> must be a + 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> @@ -1251,7 +1239,7 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_field_len</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -1277,7 +1265,7 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_field_seek</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -1304,7 +1292,7 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_field_table</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -1331,7 +1319,7 @@ <methodsynopsis> <type>string</type><methodname>mysql_field_type</methodname> - <methodparam><type>iresource</type><parameter>result</parameter></methodparam> + <methodparam><type>iresource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -1389,11 +1377,11 @@ <title>Popis</title> <methodsynopsis> <type>bool</type><methodname>mysql_free_result</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <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>result</parameter>. + associated with the result identifier <parameter>výsledek</parameter>. </para> <para> <function>mysql_free_result</function> only needs to be called if @@ -1423,15 +1411,15 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_insert_id</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </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>identifikator_spojeni</parameter>. If - <parameter>identifikator_spojeni</parameter> isn't specified, the last + given <parameter>spojeni</parameter>. If + <parameter>spojeni</parameter> isn't specified, the last opened link is assumed. </para> <para> @@ -1474,9 +1462,9 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_list_dbs</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <type>resource</type><methodname>mysql_list_dbs</methodname> + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> @@ -1537,13 +1525,11 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_list_fields</methodname> - - <methodparam><type>string</type><parameter>database_name</parameter></methodparam> - + <type>resource</type><methodname>mysql_list_fields</methodname> + <methodparam><type>string</type><parameter>jmeno_databaze</parameter></methodparam> <methodparam><type>string</type><parameter>table_name</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> @@ -1603,11 +1589,11 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_list_tables</methodname> - + <type>resource</type><methodname>mysql_list_tables</methodname> + <methodparam><type>string</type><parameter>database</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> @@ -1634,7 +1620,7 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_num_fields</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> </methodsynopsis> <para> <function>mysql_num_fields</function> returns the number of @@ -1662,7 +1648,7 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_num_rows</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> </methodsynopsis> <para> <function>mysql_num_rows</function> returns the number of rows in @@ -1712,7 +1698,7 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_pconnect</methodname> + <type>resource</type><methodname>mysql_pconnect</methodname> <methodparam choice="opt"><type>string</type><parameter> server </parameter></methodparam> @@ -1792,16 +1778,15 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_query</methodname> + <type>resource</type><methodname>mysql_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> - <methodparam - choice="opt"><type>zdroj</type><parameter>identifikator_spojeni</parameter></methodparam> + <methodparam +choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam> </methodsynopsis> <para> <function>mysql_query</function> sends a query to the currently active database on the server that's associated with the specified link identifier. If - <parameter>identifikator_spojeni</parameter> isn't specified, the last + <parameter>spojeni</parameter> isn't specified, the last opened link is assumed. If no link is open, the function tries to establish a link as if <function>mysql_connect</function> was called with no arguments, and use it. @@ -1902,9 +1887,9 @@ <refsect1> <title>Popis</title> <methodsynopsis> - <type>zdroj</type><methodname>mysql_unbuffered_query</methodname> + <type>resource</type><methodname>mysql_unbuffered_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter>identifikator_spojeni</parameter></methodparam> + <methodparam +choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam> </methodsynopsis> <para> <function>mysql_unbuffered_query</function> sends a SQL query @@ -1917,7 +1902,7 @@ been retrieved: you don't have to wait until the complete SQL query has been performed. When using multiple DB-connects, you have to specify the optional parameter - <parameter>identifikator_spojeni</parameter>. + <parameter>spojeni</parameter>. </para> <note> <para> @@ -1944,8 +1929,8 @@ <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>mysql_result</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> - <methodparam><type>int</type><parameter>row</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> + <methodparam><type>int</type><parameter>záznam</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter> field </parameter></methodparam> @@ -1989,10 +1974,9 @@ <title>Popis</title> <methodsynopsis> <type>bool</type><methodname>mysql_select_db</methodname> - - <methodparam><type>string</type><parameter>database_name</parameter></methodparam> - <methodparam choice="opt"><type>zdroj</type><parameter> - identifikator_spojeni + <methodparam><type>string</type><parameter>jmeno_databaze</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter> + spojeni </parameter></methodparam> </methodsynopsis> <para> @@ -2031,7 +2015,7 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_tablename</methodname> - <methodparam><type>zdroj</type><parameter>result</parameter></methodparam> + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> </methodsynopsis> <para> @@ -2089,13 +2073,13 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_get_host_info</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter>identifikator_spojeni</parameter></methodparam> + <methodparam +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>identifikator_spojeni</parameter>, including the server host - name. If <parameter>identifikator_spojeni</parameter> is omited, the + <parameter>spojeni</parameter>, including the server host + name. If <parameter>spojeni</parameter> is omited, the last opened connection will be used. </para> <para> @@ -2113,13 +2097,13 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_get_proto_info</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter>identifikator_spojeni</parameter></methodparam> + <methodparam +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>identifikator_spojeni</parameter>. If - <parameter>identifikator_spojeni</parameter> is omited, the last opened + <parameter>spojeni</parameter>. If + <parameter>spojeni</parameter> is omited, the last opened connection will be used. </para> <para> @@ -2137,13 +2121,13 @@ <title>Popis</title> <methodsynopsis> <type>int</type><methodname>mysql_get_server_info</methodname> - <methodparam choice="opt"><type>zdroj</type><parameter>identifikator_spojeni</parameter></methodparam> + <methodparam +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>identifikator_spojeni</parameter>. If - <parameter>identifikator_spojeni</parameter> is omited, the last opened + <parameter>spojeni</parameter>. If + <parameter>spojeni</parameter> is omited, the last opened connection will be used. </para> <para>