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

From: Date: Thu, 24 Aug 2006 11:40:46 +0000
Subject: cvs: phpdoc /en/reference/oci8/functions oci-fetch-array.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373823@lists.php.net to get a copy of this message
lsmith Thu Aug 24 11:40:46 2006 UTC Modified files: /phpdoc/en/reference/oci8/functions oci-fetch-array.xml Log: - typo fixes in the examples http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/oci8/functions/oci-fetch-array.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/oci8/functions/oci-fetch-array.xml diff -u phpdoc/en/reference/oci8/functions/oci-fetch-array.xml:1.6 phpdoc/en/reference/oci8/functions/oci-fetch-array.xml:1.7 --- phpdoc/en/reference/oci8/functions/oci-fetch-array.xml:1.6 Wed Sep 7 09:35:21 2005 +++ phpdoc/en/reference/oci8/functions/oci-fetch-array.xml Thu Aug 24 11:40:46 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry id="function.oci-fetch-array"> <refnamediv> <refname>oci_fetch_array</refname> @@ -121,7 +121,7 @@ $statement = oci_parse ($connection, $query); oci_execute ($statement); -while ($row = oci_fetch_array ($statement, OCI_NUM)) { +while ($row = oci_fetch_array ($statement, OCI_ASSOC)) { echo $row['ID']."<br>"; echo $row['NAME']."<br>"; echo $row['LOB_FIELD']."<br>"; //this will output "Object id #1" @@ -145,7 +145,7 @@ $statement = oci_parse ($connection, $query); oci_execute ($statement); -while ($row = oci_fetch_array ($statement, OCI_NUM)) { +while ($row = oci_fetch_array ($statement, (OCI_NUM+OCI_RETURN_LOBS))) { echo $row[0]."<br>"; echo $row[1]."<br>"; echo $row['LOB_FIELD']."<br>"; //this will output LOB's content

« previous php.doc (#969373823) next »