cvs: phpdoc-de /reference/oracle/functions ora-bind.xml

From: Date: Sat, 17 May 2003 15:27:54 +0000
Subject: cvs: phpdoc-de /reference/oracle/functions ora-bind.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-635@lists.php.net to get a copy of this message
samesch Sat May 17 11:27:54 2003 EDT Modified files: /phpdoc-de/reference/oracle/functions ora-bind.xml Log: syncing with EN Rev 1.3 Index: phpdoc-de/reference/oracle/functions/ora-bind.xml diff -u phpdoc-de/reference/oracle/functions/ora-bind.xml:1.4 phpdoc-de/reference/oracle/functions/ora-bind.xml:1.5 --- phpdoc-de/reference/oracle/functions/ora-bind.xml:1.4 Sun Jun 9 06:56:01 2002 +++ phpdoc-de/reference/oracle/functions/ora-bind.xml Sat May 17 11:27:54 2003 @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./de/functions/oracle.xml, last change in rev 1.2 --> <!-- last change to 'ora-bind' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: samesch Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: samesch Status: ready --> <!-- OLD-Revision: 1.30/EN.1.2 --> <refentry id="function.ora-bind"> <refnamediv> @@ -44,21 +44,22 @@ werden. Nach dem Aufruf von <function>ora_exec</function> enthalten die gebunden PHP-Variablen die Ausgabewerte, falls diese verfügbar sind. - <informalexample> + <example> + <title><function>ora_bind</function> Beispiel</title> <programlisting role="php"> <![CDATA[ <?php -ora_parse($curs, "declare tmp INTEGER; begin tmp := :in; :out := tmp; :x := 7.77; end;"); -ora_bind($curs, "ergebnis", ":x", $len, 2); -ora_bind($curs, "eingabe", ":in", 5, 1); -ora_bind($curs, "ausgabe", ":out", 5, 2); -$eingabe = 765; -ora_exec($curs); -echo "Ergebnis: $ergebnis<BR>Ausgabe: $ausgabe<BR>Eingabe: $eingabe"; + ora_parse($curs, "declare tmp INTEGER; begin tmp := :in; :out := tmp; :x := 7.77; end;"); + ora_bind($curs, "ergebnis", ":x", $len, 2); + ora_bind($curs, "eingabe", ":in", 5, 1); + ora_bind($curs, "ausgabe", ":out", 5, 2); + $eingabe = 765; + ora_exec($curs); + echo "Ergebnis: $ergebnis<BR>Ausgabe: $ausgabe<BR>Eingabe: $eingabe"; ?> ]]> </programlisting> - </informalexample> + </example> </para> </refsect1> </refentry>

« previous php.doc.de (#635) next »