I'm tryibg to execute a simple query on Oracle:
$cn=OCILogon($DB_USER, $DB_PASSWORD, $DB_NAME);
$stmt=OCIParse($cn,"select * from grisha");
OCIExecute($stmt);
OCIFetchInto ($stmt, &$row, OCI_ASSOC);
But $row is always empty and OCIFetchInto returns nothing. The table is not
empty, I can execute the same query directly on SQL*Plus Worksheet and it
returns rows, but with PHP it returns nothing.
What is wrong in this code?
Grishick.
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]