didou Tue Aug 17 10:29:24 2004 EDT
Modified files:
/phpdoc/en/reference/oci8/functions oci-error.xml
Log:
fix typo
# spotted by Nicolas Lachiche
http://cvs.php.net/diff.php/phpdoc/en/reference/oci8/functions/oci-error.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/oci8/functions/oci-error.xml
diff -u phpdoc/en/reference/oci8/functions/oci-error.xml:1.4
phpdoc/en/reference/oci8/functions/oci-error.xml:1.5
--- phpdoc/en/reference/oci8/functions/oci-error.xml:1.4 Fri Aug 13 10:10:02
2004
+++ phpdoc/en/reference/oci8/functions/oci-error.xml Tue Aug 17 10:29:24 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.oci-error">
<refnamediv>
<refname>oci_error</refname>
@@ -50,7 +50,7 @@
<![CDATA[
$stmt = @oci_parse($conn, "select ' from dual"); // note mismatched quote
if (!$stmt) {
- $e = oci_parse($conn); // For oci_parse errors pass the connection handle
+ $e = oci_error($conn); // For oci_parse errors pass the connection handle
echo htmlentities($e['message']);
}
]]>