cvs: phpdoc-pl /reference/ingres-ii book.xml examples.xml setup.xml

From: Date: Sun, 30 Mar 2008 15:22:46 +0000
Subject: cvs: phpdoc-pl /reference/ingres-ii book.xml examples.xml setup.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-1282@lists.php.net to get a copy of this message
joeaccord Sun Mar 30 15:22:46 2008 UTC Added files: /phpdoc-pl/reference/ingres-ii book.xml examples.xml setup.xml Log: new files http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ingres-ii/book.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ingres-ii/book.xml +++ phpdoc-pl/reference/ingres-ii/book.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <!-- Purpose: database.vendors --> <!-- Membership: pecl, external --> <book xml:id="book.ingres" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Ingres II</title> <!-- {{{ preface --> <preface xml:id="intro.ingres"> &reftitle.intro; <para> Te funkcje umo¿liwijaj± dostêp do serwerów baz danych Ingres II. </para> <note> <para> Je¶li ju¿ u¿ywali¶my rozszerzeñ PHP aby uzyskaæ dostêp do innych serwerów baz danych, zauwa¿my ¿e Ingres nie pozwala na równoleg³e zapytania i/lub transakcje w czasie jednego po³±czenia, tak wiêc w tym rozszerzeniu nie znajdziemy ¿adnych uchwytów do wyniku zapytania lub transakcji. Wynik zapytania musi byæ odebrany przed wys³aniem innego zapytania, a transakcja musi byæ potwierdzona lub wycofana przed otwarciem innej transakcji (która rozpoczyna siê automatycznie w momencie kiedy zostaje wys³ane pierwsze zapytanie). </para> </note> </preface> <!-- }}} --> &reference.ingres-ii.setup; &reference.ingres-ii.constants; &reference.ingres-ii.examples; &reference.ingres-ii.reference; </book> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ingres-ii/examples.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ingres-ii/examples.xml +++ phpdoc-pl/reference/ingres-ii/examples.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <chapter xml:id="ingres.examples" xmlns="http://docbook.org/ns/docbook"> &reftitle.examples; <section xml:id="ingres.examples-basic"> <para> Ten nieskomplikowany przyk³ad pojazuje jak po³±czyæ siê z baz± Ingres, wykonaæ zapytanie, wy¶wietliæ wyniki i zamkn±æ po³±czenie. <example> <title>Przyk³ad po³±czenia z Ingres</title> <programlisting role="php"> <![CDATA[ <?php // Nawi±zanie po³±czenia, wybór bazy danych $link = ingres_connect('database', 'user', 'password') or die('Nie mo¿na siê po³±czyæ: ' . ingres_error($link)); echo 'Po³±czenie zosta³o nawi±zane pomy¶lnie'; // Pobieranie wyników z tabeli, która istnieje we wszystkich bazach danych Ingres $query = 'SELECT * FROM iirelation'; $returncode = ingres_query($query,$link) or die('Zapytanie nie powiod³o siê: ' . ingres_error($link)); // Wy¶wietla wyniki w formacie HTML // relid - nazwa tabeli // relowner - w³a¶ciciel tabeli echo "<table>\n"; while ($iirelation = ingres_fetch_object(INGRES_BOTH, $link)) { echo "\t<tr>\n"; echo "\t\t<td>" . $iirelation->relid . "</td>\n"; echo "\t\t<td>" . $iirelation->relowner . "</td>\n"; echo "\t</tr>\n"; } echo "</table>\n"; // Potwierdzenie transakcji ingres_commit($link); // Zamkniêcie po³±czenia ingres_close($link); ?> ]]> </programlisting> </example> </para> </section> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/ingres-ii/setup.xml?view=markup&rev=1.1 Index: phpdoc-pl/reference/ingres-ii/setup.xml +++ phpdoc-pl/reference/ingres-ii/setup.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joeaccord Status: ready --> <!-- $Revision: 1.1 $ --> <chapter xml:id="ingres.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.setup; <!-- {{{ Requirements --> <section xml:id="ingres.requirements"> &reftitle.required; <para> Aby skompilowaæ PHP z obs³ug± Ingres, wymagana jest biblioteka Ingres OpenAPI oraz pliki nag³ówków. </para> </section> <!-- }}} --> <!-- {{{ Installation --> &reference.ingres-ii.configure; <!-- }}} --> <!-- {{{ Configuration --> &reference.ingres-ii.ini; <!-- }}} --> <!-- {{{ Resources --> <section xml:id="ingres.resources"> &reftitle.resources; <para> <function>ingres_connect</function> i <function>ingres_pconnect</function> zwracaj± identyfikator po³±czenia z Ingres II. </para> </section> <!-- }}} --> </chapter> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.pl (#1282) next »