Hi,

            we r trying to connect to oracle using php .we r able to connect but getting parse error

Warning: Supplied argument is not a valid OCI8-Connection resource in /opt/web/html/cyclone/cls_oracle_qry.cyc on line 35
Could not parse: select FIRST_NAME from WI_MKT_LEAD

we r trying as:

$sql = "select sysdate from dual";
$dbcon->doExec($sql);

function doExec($sql) {
    $sql_parsed = OCIParse($this->conn,$sql) or die ($this->openFont."Could not parse: $sql".$this->closeFont);
    }

we r using oracle 8.1.6 on Redhat linux 7.0 with php-4.0.3pl1

any clues?

Thanks

Naveen


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in

Reply via email to