RE: [PHP] Help! OCIFetchInto does not work at all

From: Date: Thu, 17 May 2001 08:44:02 +0000
Subject: RE: [PHP] Help! OCIFetchInto does not work at all
Groups: php.general 
Request: Send a blank email to php-general+get-53183@lists.php.net to get a copy of this message
please try this : OCIFetchInto ($stmt, $row, OCI_ASSOC); ^^^^ usually i also use a second modifier OCI_ASSOC+OCI_RETURN_NULLS sebastian > 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. > grisha@kasenna.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.general (#53183) next »