OCIFetchInto bug

[email protected] ("Vadim Tkachenko") Tue, 30 May 2000 11:19:44 +0300
Newsgroups php.version4
Message-ID <[email protected]>
Two scripts

First:
<?
echo "START\n";
$c1 = OCIPLogon("...","...");
echo OCIServerVersion($c1)."\n";

$stmt=OCIParse($c1,"SELECT DESCR,MANU_PART FROM VVTK.PRODUCTS WHERE DESCR
LIKE '%NETF%'");

OCIExecute($stmt);
OCIFetchInto($res,OCI_ASSOC);
echo $res["DESCR"]." ".$res["MANU_PART"];


OCILogOff($c1);
?>
When I run this script - in result empty page (without "START")


<?
echo "START<BR>\n";
$c1 = OCIPLogon("...","...");
echo OCIServerVersion($c1)."\n";

$stmt=OCIParse($c1,"SELECT DESCR,MANU_PART FROM VVTK.PRODUCTS WHERE DESCR
LIKE '%NETF%'");

OCIExecute($stmt);

OCILogOff($c1);
?>
When I run this script - in result

START
Oracle8 Enterprise Edition Release 8.0.5.1.0 - Production
With the Partitioning and Objects options
PL/SQL Release 8.0.5.1.0 - Production

This two scripts have small difference  - one line with OCIFetchInto...


Vadim Tkachenko.