cvs: phpdoc-hu /reference/mysql/functions mysql-affected-rows.xml mysql-connect.xml mysql-create-db.xml mysql-data-seek.xml mysql-db-name.xml
mysql-db-query.xml mysql-fetch-field.xml mysql-field-flags.xml mysql-field-len.xml mysql-field-name.xml mysql-field-seek.xml mysql-field-type.xml
mysql-list-tables.xml mysql-pconnect.xml
| From: | Lajos Cseppent� | Date: | Sun, 18 Mar 2007 14:41:50 +0000 |
| Subject: | cvs: phpdoc-hu /reference/mysql/functions mysql-affected-rows.xml mysql-connect.xml mysql-create-db.xml mysql-data-seek.xml mysql-db-name.xml mysql-db-query.xml mysql-fetch-field.xml mysql-field-flags.xml mysql-field-len.xml mysql-field-name.xml mysql-field-seek.xml mysql-field-type.xml mysql-list-tables.xml mysql-pconnect.xml |
||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-1611@lists.php.net to get a copy of this message | ||
chappy Sun Mar 18 14:41:50 2007 UTC
Modified files:
/phpdoc-hu/reference/mysql/functions mysql-affected-rows.xml
mysql-connect.xml
mysql-create-db.xml
mysql-data-seek.xml
mysql-db-name.xml
mysql-db-query.xml
mysql-fetch-field.xml
mysql-field-flags.xml
mysql-field-len.xml
mysql-field-name.xml
mysql-field-seek.xml
mysql-field-type.xml
mysql-list-tables.xml
mysql-pconnect.xml
Log:
sync all
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml:1.6 Sat Apr 2 13:23:39 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.21 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.22 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-affected-rows"> <refnamediv> <refname>mysql_affected_rows</refname> @@ -15,7 +16,7 @@ </methodsynopsis> <para> Az elõzõ <parameter>link_identifier</parameter>-rel azonosított kapcsolatban - kiadott INSERT, UPDATE vagy DELETE kérésben érintett sorok számát adja + kiadott INSERT, UPDATE, REPLACE vagy DELETE kérésben érintett sorok számát adja meg. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-connect.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-connect.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-connect.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-connect.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-connect.xml:1.6 Sat Apr 2 13:23:39 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-connect.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.20 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-connect"> <refnamediv> <refname>mysql_connect</refname> @@ -18,9 +19,6 @@ </methodsynopsis> <para> Megnyit vagy újrahasznosít egy MySQL szerver kapcsolatot. - A kapcsolat a szerverrel a lehetõ leghamarabb bezárul, amikor - a szkript befejezi mûködését, kivéve ha korábban be lett zárva - explicit módon a <function>mysql_close</function> meghívásával. </para> </refsect1> @@ -39,7 +37,8 @@ Ha a <link linkend="ini.mysql.default-host"> mysql.default_host</link> PHP direktíva nem definiált (ez az alapértelmezés), akkor az alapértelmezett értéke ' - localhost:3306' + localhost:3306'. &sqlsafemode;-ban, ezt a paramétert kihagyja, és + mindig 'localhost:3306' értéket használja a PHP. </para> </listitem> </varlistentry> @@ -47,8 +46,10 @@ <term><parameter>username</parameter></term> <listitem> <para> - A felhasználónév. Alapértelmezett értéke annak a - felhasználónak a neve, aki a szerverfolyamatnak a tulajdonosa. + A felhasználónév. Alapértelmezett értéke a <link + linkend="ini.mysql.default-user">mysql.default_user</link>. + &sqlsafemode;-ban, ezt a paramétert kihagyja, és a szerverfolyamat a tulajdonosának + a nevét használja a PHP. </para> </listitem> </varlistentry> @@ -56,7 +57,9 @@ <term><parameter>password</parameter></term> <listitem> <para> - A jelszó. Alapértelmezett értéke az üres jelszó. + A jelszó. Alapértelmezett értéke a <link + linkend="ini.mysql.default-password">mysql.default_password</link>. In + &sqlsafemode;-ban, ezt a paramétert kihagyja, és egy üres jelszót használ a PHP. </para> </listitem> </varlistentry> @@ -71,7 +74,7 @@ viselkedésmódot, és a <function>mysql_connect</function> függvényt új link megnyitására kényszeríti, még akkor is, ha elõzõleg a <function>mysql_connect</function> függvényt ugyanazokkal a - paraméterekkel hívtad meg. + paraméterekkel hívtad meg. &sqlsafemode;-ban ezt a paramétert kihagyja a PHP. </para> </listitem> </varlistentry> @@ -81,9 +84,12 @@ <para> A <parameter>client_flags</parameter> az alábbi konstansok kombinációja lehet: + <constant>MYSQL_CLIENT_SSL</constant>, <constant>MYSQL_CLIENT_COMPRESS</constant>, <constant>MYSQL_CLIENT_IGNORE_SPACE</constant> vagy <constant>MYSQL_CLIENT_INTERACTIVE</constant>. + Lásd a <xref linkend="mysql.client-flags" /> részt további információkért. + &sqlsafemode;-ban ezt a paramétert kihagyja a PHP. </para> </listitem> </varlistentry> @@ -162,6 +168,61 @@ </programlisting> </example> </para> + <para> + <example> + <title><function>mysql_connect</function> example using <literal>hostname:port</literal> syntax</title> + <programlisting role="php"> +<![CDATA[ +<?php +// we connect to example.com and port 3307 +$link = mysql_connect('example.com:3307', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); + +// we connect to localhost at port 3307 +$link = mysql_connect('127.0.0.1:3307', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title><function>mysql_connect</function> példa ":/path/to/socket" szintaxist használva</title> + <programlisting role="php"> +<![CDATA[ +<?php +// kapcsolódás a localhost-hoz és socket-hez, pl: /tmp/mysql.sock + +//1. változat: localhost kihagyása +$link = mysql_connect('/tmp/mysql', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); + + +// 2. változat: localhost-tal +$link = mysql_connect('localhost:/tmp/mysql.sock', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); +?> +]]> + </programlisting> + </example> + </para> </refsect1> <refsect1 role="notes"> @@ -175,7 +236,7 @@ használd a "127.0.0.1" alakot "localhost" helyett. Ha a MySQL kliens könyvtár rossz helyi socket-hez próbál csatlakozni, állítsd be a megfelelõ útvonalat a - mysql.default_host PHP beállítással, a szerver mezõt pedig + <xref linkend="ini.mysql.default-host" /> PHP beállítással, a szerver mezõt pedig hagyd üresen. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-create-db.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-create-db.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-create-db.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-create-db.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-create-db.xml:1.6 Sat Apr 2 13:23:39 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-create-db.xml Sun Mar 18 14:41:50 2007 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.16 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-create-db"> <refnamediv> <refname>mysql_create_db</refname> <refpurpose>Létrehoz egy MySQL adatbázist</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -18,6 +20,7 @@ új adatbázist a megadott kapcsolatazonosítón keresztül. </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -103,6 +106,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml:1.7 Sat Apr 2 14:23:22 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml Sun Mar 18 14:41:50 2007 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.17 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely,cece --> +<!-- EN-Revision: 1.19 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely,cece, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-data-seek"> <refnamediv> <refname>mysql_data_seek</refname> <refpurpose>Belsõ eredménymutató mozgatása</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -15,8 +17,8 @@ </methodsynopsis> <para> A <function>mysql_data_seek</function> függvény az adott azonosítójú - ereményhalmazban ugrik a megadott pozícióra. A - <function>mysql_fetch_row</function> függvény következõ hívásakor ezt a + ereményhalmazban ugrik a megadott pozícióra. Bármely MySQL betöltõ + függvény, mint a <function>mysql_fetch_assoc</function> következõ hívásakor ezt a sorszámú sort kapod meg. </para> <para> @@ -121,6 +123,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-db-name.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-db-name.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-db-name.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-db-name.xml:1.6 --- phpdoc-hu/reference/mysql/functions/mysql-db-name.xml:1.5 Sat Apr 2 14:23:22 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-db-name.xml Sun Mar 18 14:41:50 2007 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-db-name"> <refnamediv> <refname>mysql_db_name</refname> <refpurpose>Egy adatbázisnév lekérése</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -107,6 +109,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-db-query.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-db-query.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-db-query.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-db-query.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-db-query.xml:1.6 Sat Apr 2 14:23:22 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-db-query.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-db-query"> <refnamediv> <refname>mysql_db_query</refname> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml:1.4 phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml:1.5 --- phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml:1.4 Sat Apr 2 17:38:26 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.14 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-fetch-field"> <refnamediv> <refname>mysql_fetch_field</refname> @@ -60,6 +61,11 @@ </listitem> <listitem> <simpara> + def - az oszlop alapértelmezett értéke + </simpara> + </listitem> + <listitem> + <simpara> max_length - az oszlop maximális hossza </simpara> </listitem> @@ -147,6 +153,7 @@ primary_key: $meta->primary_key table: $meta->table type: $meta->type +default: $meta->def unique_key: $meta->unique_key unsigned: $meta->unsigned zerofill: $meta->zerofill http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml:1.6 Mon Apr 4 19:03:51 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-flags"> <refnamediv> <refname>mysql_field_flags</refname> @@ -94,6 +95,17 @@ </para> </note> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>mysql_field_type</function></member> + <member><function>mysql_field_len</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-len.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-len.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-len.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-field-len.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-field-len.xml:1.6 Mon Apr 4 19:03:51 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-len.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.8 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-len"> <refnamediv> <refname>mysql_field_len</refname> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-name.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-name.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-name.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-field-name.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-field-name.xml:1.7 Wed Apr 13 23:46:57 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-name.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-name"> <refnamediv> <refname>mysql_field_name</refname> @@ -55,8 +56,8 @@ } $adatbazis = 'adatbazis'; $adatbazis_megnyitva = mysql_select_db($adatbazis, $kapcsolat); -if (!kapcsolat) { - die('Nem tudom megnyitni az adatbázist: '. mysql_error()); +if (!adatbazis_megnyitva) { + die("Nem tudom megnyitni a(z) $adatbazis adatbázist: ". mysql_error()); } $eredmeny = mysql_query('SELECT * FROM felhasznalok', $kapcsolat); @@ -86,6 +87,17 @@ </para> </note> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>mysql_field_type</function></member> + <member><function>mysql_field_len</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml:1.6 --- phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml:1.5 Wed Apr 13 23:46:57 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.6 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.8 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-seek"> <refnamediv> <refname>mysql_field_seek</refname> @@ -9,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>mysql_field_seek</methodname> + <type>bool</type><methodname>mysql_field_seek</methodname> <methodparam><type>resource</type><parameter>result</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -30,6 +31,13 @@ </variablelist> </para> </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-type.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-type.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-type.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-field-type.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-field-type.xml:1.7 Wed Apr 13 23:46:57 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-type.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.12 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-type"> <refnamediv> <refname>mysql_field_type</refname> @@ -96,6 +97,17 @@ </para> </note> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>mysql_field_name</function></member> + <member><function>mysql_field_len</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml:1.7 Thu Apr 14 08:07:45 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.16 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.18 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-list-tables"> <refnamediv> <refname>mysql_list_tables</refname> @@ -53,6 +54,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.7</entry> + <entry> + Ez a függvény ellenjavalt lett. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -68,7 +93,7 @@ exit; } -$sql = "SELECT TABLES FROM $adatbazis"; +$sql = "SHOW TABLES FROM $adatbazis"; $eredmeny = mysql_query($sql); if (!$eredmeny) { http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml:1.6 --- phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml:1.5 Thu Apr 14 08:07:45 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-pconnect"> <refnamediv> <refname>mysql_pconnect</refname> @@ -15,6 +16,16 @@ <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>client_flags</parameter></methodparam> </methodsynopsis> + <!-- Nem dokumentát zavaró szintaxis: + <methodsynopsis> + <type>resource</type><methodname>mysql_pconnect</methodname> + <methodparam choice="opt"><type>string</type><parameter>server</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>new_link</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>client_flags</parameter></methodparam> + </methodsynopsis> + --> <para> Egy perzisztes kapcsolatot hoz létre egy MySQL szerverhez. </para> @@ -83,6 +94,7 @@ <para> A <parameter>client_flags</parameter> paraméter az alábbi konstansok kombinációja lehet: + <constant>MYSQL_CLIENT_SSL</constant>, <constant>MYSQL_CLIENT_COMPRESS</constant>, <constant>MYSQL_CLIENT_IGNORE_SPACE</constant> és <constant>MYSQL_CLIENT_INTERACTIVE</constant>.
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml:1.6 Sat Apr 2 13:23:39 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-affected-rows.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.21 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.22 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-affected-rows"> <refnamediv> <refname>mysql_affected_rows</refname> @@ -15,7 +16,7 @@ </methodsynopsis> <para> Az elõzõ <parameter>link_identifier</parameter>-rel azonosított kapcsolatban - kiadott INSERT, UPDATE vagy DELETE kérésben érintett sorok számát adja + kiadott INSERT, UPDATE, REPLACE vagy DELETE kérésben érintett sorok számát adja meg. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-connect.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-connect.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-connect.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-connect.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-connect.xml:1.6 Sat Apr 2 13:23:39 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-connect.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.20 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-connect"> <refnamediv> <refname>mysql_connect</refname> @@ -18,9 +19,6 @@ </methodsynopsis> <para> Megnyit vagy újrahasznosít egy MySQL szerver kapcsolatot. - A kapcsolat a szerverrel a lehetõ leghamarabb bezárul, amikor - a szkript befejezi mûködését, kivéve ha korábban be lett zárva - explicit módon a <function>mysql_close</function> meghívásával. </para> </refsect1> @@ -39,7 +37,8 @@ Ha a <link linkend="ini.mysql.default-host"> mysql.default_host</link> PHP direktíva nem definiált (ez az alapértelmezés), akkor az alapértelmezett értéke ' - localhost:3306' + localhost:3306'. &sqlsafemode;-ban, ezt a paramétert kihagyja, és + mindig 'localhost:3306' értéket használja a PHP. </para> </listitem> </varlistentry> @@ -47,8 +46,10 @@ <term><parameter>username</parameter></term> <listitem> <para> - A felhasználónév. Alapértelmezett értéke annak a - felhasználónak a neve, aki a szerverfolyamatnak a tulajdonosa. + A felhasználónév. Alapértelmezett értéke a <link + linkend="ini.mysql.default-user">mysql.default_user</link>. + &sqlsafemode;-ban, ezt a paramétert kihagyja, és a szerverfolyamat a tulajdonosának + a nevét használja a PHP. </para> </listitem> </varlistentry> @@ -56,7 +57,9 @@ <term><parameter>password</parameter></term> <listitem> <para> - A jelszó. Alapértelmezett értéke az üres jelszó. + A jelszó. Alapértelmezett értéke a <link + linkend="ini.mysql.default-password">mysql.default_password</link>. In + &sqlsafemode;-ban, ezt a paramétert kihagyja, és egy üres jelszót használ a PHP. </para> </listitem> </varlistentry> @@ -71,7 +74,7 @@ viselkedésmódot, és a <function>mysql_connect</function> függvényt új link megnyitására kényszeríti, még akkor is, ha elõzõleg a <function>mysql_connect</function> függvényt ugyanazokkal a - paraméterekkel hívtad meg. + paraméterekkel hívtad meg. &sqlsafemode;-ban ezt a paramétert kihagyja a PHP. </para> </listitem> </varlistentry> @@ -81,9 +84,12 @@ <para> A <parameter>client_flags</parameter> az alábbi konstansok kombinációja lehet: + <constant>MYSQL_CLIENT_SSL</constant>, <constant>MYSQL_CLIENT_COMPRESS</constant>, <constant>MYSQL_CLIENT_IGNORE_SPACE</constant> vagy <constant>MYSQL_CLIENT_INTERACTIVE</constant>. + Lásd a <xref linkend="mysql.client-flags" /> részt további információkért. + &sqlsafemode;-ban ezt a paramétert kihagyja a PHP. </para> </listitem> </varlistentry> @@ -162,6 +168,61 @@ </programlisting> </example> </para> + <para> + <example> + <title><function>mysql_connect</function> example using <literal>hostname:port</literal> syntax</title> + <programlisting role="php"> +<![CDATA[ +<?php +// we connect to example.com and port 3307 +$link = mysql_connect('example.com:3307', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); + +// we connect to localhost at port 3307 +$link = mysql_connect('127.0.0.1:3307', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> + <title><function>mysql_connect</function> példa ":/path/to/socket" szintaxist használva</title> + <programlisting role="php"> +<![CDATA[ +<?php +// kapcsolódás a localhost-hoz és socket-hez, pl: /tmp/mysql.sock + +//1. változat: localhost kihagyása +$link = mysql_connect('/tmp/mysql', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); + + +// 2. változat: localhost-tal +$link = mysql_connect('localhost:/tmp/mysql.sock', 'mysql_user', 'mysql_password'); +if (!$link) { + die('Could not connect: ' . mysql_error()); +} +echo 'Connected successfully'; +mysql_close($link); +?> +]]> + </programlisting> + </example> + </para> </refsect1> <refsect1 role="notes"> @@ -175,7 +236,7 @@ használd a "127.0.0.1" alakot "localhost" helyett. Ha a MySQL kliens könyvtár rossz helyi socket-hez próbál csatlakozni, állítsd be a megfelelõ útvonalat a - mysql.default_host PHP beállítással, a szerver mezõt pedig + <xref linkend="ini.mysql.default-host" /> PHP beállítással, a szerver mezõt pedig hagyd üresen. </para> </note> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-create-db.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-create-db.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-create-db.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-create-db.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-create-db.xml:1.6 Sat Apr 2 13:23:39 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-create-db.xml Sun Mar 18 14:41:50 2007 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.16 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-create-db"> <refnamediv> <refname>mysql_create_db</refname> <refpurpose>Létrehoz egy MySQL adatbázist</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -18,6 +20,7 @@ új adatbázist a megadott kapcsolatazonosítón keresztül. </para> </refsect1> + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -103,6 +106,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml:1.7 Sat Apr 2 14:23:22 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-data-seek.xml Sun Mar 18 14:41:50 2007 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.17 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely,cece --> +<!-- EN-Revision: 1.19 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely,cece, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-data-seek"> <refnamediv> <refname>mysql_data_seek</refname> <refpurpose>Belsõ eredménymutató mozgatása</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -15,8 +17,8 @@ </methodsynopsis> <para> A <function>mysql_data_seek</function> függvény az adott azonosítójú - ereményhalmazban ugrik a megadott pozícióra. A - <function>mysql_fetch_row</function> függvény következõ hívásakor ezt a + ereményhalmazban ugrik a megadott pozícióra. Bármely MySQL betöltõ + függvény, mint a <function>mysql_fetch_assoc</function> következõ hívásakor ezt a sorszámú sort kapod meg. </para> <para> @@ -121,6 +123,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-db-name.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-db-name.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-db-name.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-db-name.xml:1.6 --- phpdoc-hu/reference/mysql/functions/mysql-db-name.xml:1.5 Sat Apr 2 14:23:22 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-db-name.xml Sun Mar 18 14:41:50 2007 @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-db-name"> <refnamediv> <refname>mysql_db_name</refname> <refpurpose>Egy adatbázisnév lekérése</refpurpose> </refnamediv> + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -107,6 +109,7 @@ </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-db-query.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-db-query.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-db-query.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-db-query.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-db-query.xml:1.6 Sat Apr 2 14:23:22 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-db-query.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-db-query"> <refnamediv> <refname>mysql_db_query</refname> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml:1.4 phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml:1.5 --- phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml:1.4 Sat Apr 2 17:38:26 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-fetch-field.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.14 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-fetch-field"> <refnamediv> <refname>mysql_fetch_field</refname> @@ -60,6 +61,11 @@ </listitem> <listitem> <simpara> + def - az oszlop alapértelmezett értéke + </simpara> + </listitem> + <listitem> + <simpara> max_length - az oszlop maximális hossza </simpara> </listitem> @@ -147,6 +153,7 @@ primary_key: $meta->primary_key table: $meta->table type: $meta->type +default: $meta->def unique_key: $meta->unique_key unsigned: $meta->unsigned zerofill: $meta->zerofill http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml:1.6 Mon Apr 4 19:03:51 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-flags.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.10 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-flags"> <refnamediv> <refname>mysql_field_flags</refname> @@ -94,6 +95,17 @@ </para> </note> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>mysql_field_type</function></member> + <member><function>mysql_field_len</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-len.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-len.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-len.xml:1.6 phpdoc-hu/reference/mysql/functions/mysql-field-len.xml:1.7 --- phpdoc-hu/reference/mysql/functions/mysql-field-len.xml:1.6 Mon Apr 4 19:03:51 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-len.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.8 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-len"> <refnamediv> <refname>mysql_field_len</refname> http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-name.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-name.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-name.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-field-name.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-field-name.xml:1.7 Wed Apr 13 23:46:57 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-name.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.15 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-name"> <refnamediv> <refname>mysql_field_name</refname> @@ -55,8 +56,8 @@ } $adatbazis = 'adatbazis'; $adatbazis_megnyitva = mysql_select_db($adatbazis, $kapcsolat); -if (!kapcsolat) { - die('Nem tudom megnyitni az adatbázist: '. mysql_error()); +if (!adatbazis_megnyitva) { + die("Nem tudom megnyitni a(z) $adatbazis adatbázist: ". mysql_error()); } $eredmeny = mysql_query('SELECT * FROM felhasznalok', $kapcsolat); @@ -86,6 +87,17 @@ </para> </note> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>mysql_field_type</function></member> + <member><function>mysql_field_len</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml:1.6 --- phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml:1.5 Wed Apr 13 23:46:57 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-seek.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.6 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.8 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-seek"> <refnamediv> <refname>mysql_field_seek</refname> @@ -9,7 +10,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>mysql_field_seek</methodname> + <type>bool</type><methodname>mysql_field_seek</methodname> <methodparam><type>resource</type><parameter>result</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> @@ -30,6 +31,13 @@ </variablelist> </para> </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> <refsect1 role="seealso"> &reftitle.seealso; http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-field-type.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-field-type.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-field-type.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-field-type.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-field-type.xml:1.7 Wed Apr 13 23:46:57 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-field-type.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.12 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.13 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-field-type"> <refnamediv> <refname>mysql_field_type</refname> @@ -96,6 +97,17 @@ </para> </note> </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>mysql_field_name</function></member> + <member><function>mysql_field_len</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml:1.7 phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml:1.8 --- phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml:1.7 Thu Apr 14 08:07:45 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-list-tables.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.16 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.18 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-list-tables"> <refnamediv> <refname>mysql_list_tables</refname> @@ -53,6 +54,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.7</entry> + <entry> + Ez a függvény ellenjavalt lett. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -68,7 +93,7 @@ exit; } -$sql = "SELECT TABLES FROM $adatbazis"; +$sql = "SHOW TABLES FROM $adatbazis"; $eredmeny = mysql_query($sql); if (!$eredmeny) { http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml diff -u phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml:1.5 phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml:1.6 --- phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml:1.5 Thu Apr 14 08:07:45 2005 +++ phpdoc-hu/reference/mysql/functions/mysql-pconnect.xml Sun Mar 18 14:41:50 2007 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: bagilevi Status: ready --> -<!-- CREDITS: kgergely --> +<!-- EN-Revision: 1.11 Maintainer: bagilevi Status: ready --> +<!-- CREDITS: kgergely, chappy --> +<!-- Reviewed: no --> <refentry id="function.mysql-pconnect"> <refnamediv> <refname>mysql_pconnect</refname> @@ -15,6 +16,16 @@ <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>client_flags</parameter></methodparam> </methodsynopsis> + <!-- Nem dokumentát zavaró szintaxis: + <methodsynopsis> + <type>resource</type><methodname>mysql_pconnect</methodname> + <methodparam choice="opt"><type>string</type><parameter>server</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>new_link</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>client_flags</parameter></methodparam> + </methodsynopsis> + --> <para> Egy perzisztes kapcsolatot hoz létre egy MySQL szerverhez. </para> @@ -83,6 +94,7 @@ <para> A <parameter>client_flags</parameter> paraméter az alábbi konstansok kombinációja lehet: + <constant>MYSQL_CLIENT_SSL</constant>, <constant>MYSQL_CLIENT_COMPRESS</constant>, <constant>MYSQL_CLIENT_IGNORE_SPACE</constant> és <constant>MYSQL_CLIENT_INTERACTIVE</constant>.