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


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

Re: OCI8

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Claus Reibenstein <4spamersonly@kabelmail.de>
Newsgroups de.comp.lang.php
Subject Re: OCI8
Date Mon, 21 Aug 2017 20:56:04 +0200
Lines 23
Message-ID <f00om4Fpub7U1@mid.individual.net> (permalink)
References <f00o39Fpq2dU1@mid.individual.net>
Reply-To c.reibenstein@kabelmail.de
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-15
Content-Transfer-Encoding 8bit
X-Trace individual.net gnaQJKvaX0de/Jr/+wbjQgov472SPZkB9w019mCR+jXjETk+Y=
Cancel-Lock sha1:fOIxQIn6RaVHd4lWh1MziNfzAIY=
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 SeaMonkey/2.46
In-Reply-To <f00o39Fpq2dU1@mid.individual.net>
Xref csiph.com de.comp.lang.php:4212

Show key headers only | View raw


Jörg Burzeja schrieb am 21.08.2017 um 20:45:

> hat jemand Erfahrung mit PHP und OCI8 auf eine ORACLE DB?

Nein, aber ...

> $stid = oci_parse($conn, 'SELECT * FROM employees where first_name = 
> ''Lisa''');

... diesen syntaktischen PHP-Müll erkennt man auch ohne ORACLE-Kenntnisse.

Versuch's mal hiermit:

$stid = oci_parse($conn, "SELECT * FROM employees where first_name =
'Lisa'");

Oder hiermit:

$stid = oci_parse($conn, 'SELECT * FROM employees where first_name =
\'Lisa\'');

Gruß
Claus

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