From 8d6aed92ff34e3f8d7455622eb8c7623664f9a65 Mon Sep 17 00:00:00 2001 From: Martin Samesch Date: Sun, 27 Aug 2000 18:40:44 +0000 Subject: [PATCH] fixed a typo and added some (missing?) ''s git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31343 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/oracle.xml | 36 ++++++++++++++++++++++++++---------- 1 file changed, 26 insertions(+), 10 deletions(-) diff --git a/functions/oracle.xml b/functions/oracle.xml index ecea420c7a..82f8b930bc 100644 --- a/functions/oracle.xml +++ b/functions/oracle.xml @@ -174,11 +174,14 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; int conn - Returns true on success, false on error. Details about the + + Returns true on success, false on error. Details about the error can be retrieved using the ora_error - and ora_errorcode functions. This function - commits an Oracle transaction. A transaction is defined as all - the changes on a given connection since the last commit/rollback, + and ora_errorcode functions. + + + This function commits an Oracle transaction. A transaction is defined as + all the changes on a given connection since the last commit/rollback, autocommit was turned off or when the connection was established. @@ -257,6 +260,8 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; Returns true on success, false on error. Details about the error can be retrieved using the ora_error and ora_errorcode functions. + + See also ora_parse,ora_exec, and ora_fetch. @@ -282,6 +287,8 @@ echo "Result: $result<BR>Out: $output<BR>In: $input"; where XXX is where the error comes from and NNNNN identifies the error message. + + Support for connection ids was added in 3.0.4. @@ -367,6 +374,8 @@ remove the unique restriction or do not insert the key using the ora_error and ora_errorcode functions. If there was no error, ora_errorcode will return 0. + + Retrieves a row of data from the specified cursor. @@ -437,8 +446,10 @@ echo $results[1]; will return a non-zero value. Note, however, that a test for False on the results from this function may be true in cases where there is not error as well (NULL result, empty string, the number 0, the - string "0"). Fetches the data for a column or function - result. + string "0"). + + + Fetches the data for a column or function result. @@ -457,10 +468,12 @@ echo $results[1]; - Returns true on success, False on error. Details about the error + Returns true on success, false on error. Details about the error can be retrieved using the ora_error and - ora_errorcode functions. Logs out the user - and disconnects from the server. + ora_errorcode functions. + + + Logs out the user and disconnects from the server. See also ora_logon. @@ -621,7 +634,10 @@ $conn = Ora_Logon("user@TNSNAME", "pass"); This function parses an SQL statement or a PL/SQL block and - associates it with the given cursor. Returns 0 on success or -1 on + associates it with the given cursor. + + + Returns 0 on success or -1 on error.