Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle805 & PHP305 library problem

Re: Oracle805 & PHP305 library problem

From: Jason Jay Weiland <archduke_at_uclink4.berkeley.edu>
Date: Thu, 19 Nov 1998 12:18:35 -0800
Message-ID: <36547D1B.89AF95B1@uclink4.berkeley.edu>


Uli,

     I don't believe that PHP has finished the native Oracle drivers yet. Try using ODBC:

$mydb = odbc_pconnect("OracleLocal", "Scott", "Tiger"); $sql_stmt = " SELECT lname, fname

                 FROM foo";
$result = odbc_exec($my_db, $sql_stmt);
$count = 0;
$full_name = array();
while (odbc_fetch_row($result)) {
  $full_name[count] = array(odbc_result(result, 1),
                                     odbc_result(result, 2));
  $count ++
};

Jay!!!

P.S> Your email address is not a newsgroup :)

Uli wrote:

> Hello,
> i've following problem
> when i try to compile php3 with oracle support i got an error message
> like this:
> ld :error library -lsqlnet not found
> ld :error library -lc3v6t not found
> ld :error library -lcore3 not found
> my system: Solaris 2.6 intel
> Oracle 8.0.5
> PHP 3.0.5
>
> oracle says that these libraries only ORA7 contains.
> But in the PHP configure script they are hard-coded unter Oracle 8
> Whats right?
>
> Bye Uli
Received on Thu Nov 19 1998 - 14:18:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US