note 67051 added to ref.oracle

From: Date: Fri, 02 Jun 2006 14:49:37 +0000
Subject: note 67051 added to ref.oracle
Groups: php.notes 
Request: Send a blank email to php-notes+get-112982@lists.php.net to get a copy of this message
Here are the translate of some functions from ORA to OCI: function Ora_Logon($usuario, $password) { $con = oci_connect($usuario,$password); return $con; } function Ora_Open($conexion) { $cursor[0]=$conexion; return $cursor; } function Ora_Parse(&$cursor, $consulta) { $cursor[1]=oci_parse($cursor[0],$consulta); return $cursor; } function Ora_Exec(&$cursor) { oci_execute($cursor[1]); $cursor[2]=1; return $cursor; } function Ora_Fetch(&$cursor) { if ($cursor[2] == 1) $cursor[2]=0; return oci_fetch($cursor[1]); } function Ora_GetColumn(&$cursor, $indice) { if ($cursor[2] == 1) { Ora_Fetch($cursor); $cursor[2]=0; } $valor = oci_result($cursor[1],$indice+1); return $valor; } function Ora_Close(&$cursor) { unset($cursor[1]); } function Ora_Logoff($conexion) { } ---- Server IP: 130.206.1.5 Probable Submitter: 194.106.18.254 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/ref.oracle.php Edit -- http://master.php.net/note/edit/67051 Del: integrated -- http://master.php.net/note/delete/67051/integrated Del: useless -- http://master.php.net/note/delete/67051/useless Del: bad code -- http://master.php.net/note/delete/67051/bad+code Del: spam -- http://master.php.net/note/delete/67051/spam Del: non-english -- http://master.php.net/note/delete/67051/non-english Del: in docs -- http://master.php.net/note/delete/67051/in+docs Del: other reasons-- http://master.php.net/note/delete/67051 Reject -- http://master.php.net/note/reject/67051 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#112982) next »