php-db | 2000121
Date: 12/05/00
- Next message: Uioreanu Calin: "Re: [PHP-DB] PHP-mysql better way to build a pyramid table"
- Previous message: Hunter Hillegas: "[PHP-DB] Oracle 8 / iPlanet / Solaris 7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
This page works if I omitted ename from select statement.
Does anybody have the similar problem ?
I running RedHat 7.0 Mandrake with Oracle 8.1.5 Client connecting to Oracle 8.1.6 Server on NT, Apache 1.3.12, Php 4.0.3pl.
<?
print "<HTML><TITLE>". time() ."</TITLE>";
$conn = OCILogon("scott","tiger","rpl.world") or die("Could not make connection");
$statement = OCIParse($conn,"select empno,ename from emp");
OCIExecute($statement,OCI_DEFAULT);
echo "<TABLE Border=1>";
while (OCIFetch($statement)) {
echo "<TR>";
echo "<TD>" . OCIResult($statement,"EMPNO") . "</TD>";
echo "<TD>" . OCIResult($statement,"ENAME") . "</TD>";
echo "</TR>";
}
print "</TABLE></HTML>";
OCIFreeStatement($statement);
OCILogoff($conn); ?>
Any help would be apreciate.
- Next message: Uioreanu Calin: "Re: [PHP-DB] PHP-mysql better way to build a pyramid table"
- Previous message: Hunter Hillegas: "[PHP-DB] Oracle 8 / iPlanet / Solaris 7"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

