note 11806 deleted from function.ora-do by didou

From: Date: Tue, 29 Jul 2003 13:46:11 +0000
Subject: note 11806 deleted from function.ora-do by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52931@lists.php.net to get a copy of this message
Note Submitter: vic@clockwerk.com ---- Ora_Do is really a quick combination of ORA_OPEN, Ora_Parse, Ora_Exec and Ora_Fetch. You must open a cursor, then parse and execute to get a valid result set. Ora_Do handles the Open call in addition to the commands listed above. So the Long form of Ora_Do would be: $cursor = Ora_Open($conn); $successtest = Ora_Parse($cursor,<SQL statement>,$defer); $successtest = Ora_Exec($cursor); $successtest = Ora_Fetch($cursor); I use the long form and replace Ora_Fetch with Ora_Fetch_Into because I can't find the returned row from Ora_Do.

« previous php.notes (#52931) next »