Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.php > #4217

Re: OCI8

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups de.comp.lang.php
Subject Re: OCI8
Date 2017-08-22 15:51 +0200
Organization solani.org
Message-ID <onhcss$6r3$1@solani.org> (permalink)
References <f00o39Fpq2dU1@mid.individual.net> <f00om4Fpub7U1@mid.individual.net> <onfhdg$4t8$1@solani.org> <2827824.5fSG56mABF@PointedEars.de>

Show all headers | View raw


Am 22.08.2017 um 14:43 schrieb Thomas 'PointedEars' Lahn:

> Christoph M. Becker wrote:
> 
>> Am 21.08.2017 um 20:56 schrieb Claus Reibenstein:
>>> $stid = oci_parse($conn, "SELECT * FROM employees where first_name =
>    ^^^^^
>>> 'Lisa'");
>>
>> Oder vielleicht besser:
>>
>>     $stdi = oci_parse(
>       ^^^^^
>>         $conn, 'SELECT * FROM employees where first_name = :first_name'
>>     );
>>     oci_bind_by_name($stdid, ':first_name', 'Lisa');
>                        ^^^^^^

Danke! Ich hatte mich schon gewundert, was dieser kryptische
Variablenname bedeuten soll. Nun ist es klar: statement ID.

-- 
Christoph M. Becker

Back to de.comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OCI8 Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2017-08-21 20:45 +0200
  Re: OCI8 Claus Reibenstein <4spamersonly@kabelmail.de> - 2017-08-21 20:56 +0200
    Re: OCI8 Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2017-08-21 21:06 +0200
    Re: OCI8 "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-08-21 22:56 +0200
      Re: OCI8 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-22 14:43 +0200
        Re: OCI8 "Christoph M. Becker" <cmbecker69@arcor.de> - 2017-08-22 15:51 +0200
    Re: OCI8 Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2017-08-22 21:50 +0200
      Re: OCI8 Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2017-08-22 20:36 +0000
        Re: OCI8 Jörg Burzeja <No_Spam_burzeja@gmx.de> - 2017-08-22 22:58 +0200
          Re: OCI8 Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-08-28 01:08 +0200

csiph-web