cvs: phpdoc /en/reference/oci8/functions oci-error.xml

From: Date: Tue, 17 Aug 2004 14:29:24 +0000
Subject: cvs: phpdoc /en/reference/oci8/functions oci-error.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969363262@lists.php.net to get a copy of this message
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']); } ]]>

« previous php.doc (#969363262) next »