kalowsky                Thu Jun 28 11:54:29 2001 EDT

  Modified files:              
    /phpdoc/en/functions        uodbc.xml 
  Log:
  updated to reflect new functionality in 4.0.6, and warn users of the future
  change
  
  
Index: phpdoc/en/functions/uodbc.xml
diff -u phpdoc/en/functions/uodbc.xml:1.18 phpdoc/en/functions/uodbc.xml:1.19
--- phpdoc/en/functions/uodbc.xml:1.18  Sat Jun 23 16:10:51 2001
+++ phpdoc/en/functions/uodbc.xml       Thu Jun 28 11:54:29 2001
@@ -506,6 +506,54 @@
      array. The array will contain the column values starting at array
      index 0.
     </para>
+       <para>
+        <example>
+               <title><function>odbc_fetch_into</function> pre 4.0.6 example </title>
+               <programlisting role="php">
+$rc = odbc_fetch_into($res_id, $my_array);
+               </programlisting>
+               or
+               <programlisting role="php">
+$rc = odbc_fetch_into($res_id, $row, $my_array);
+
+$rc = odbc_fetch_into($res_id, 1, $my_array);
+               </programlisting>
+        </example>
+       </para>
+       <para>
+        As of PHP 4.0.5 the <parameter>result_array</parameter> does not need
+        to be passed by reference any longer.
+       </para>
+       <para>
+        As of PHP 4.0.6 the <parameter>rownumber</parameter> cannot be passed
+        as a constant, but rather as a variable.  
+       </para>
+       <para>
+        <example>
+               <title><function>odbc_fetch_into</function> 4.0.6 example</title>
+               <programlisting role="php">
+$rc = odbc_fetch_into($res_id, $my_array);
+               </programlisting>
+               or
+               <programlisting role="php">
+$row = 1;
+$rc = odbc_fetch_into($res_id, $row, $my_array);
+               </programlisting>
+        </example>
+       </para>
+       <para>
+        Future:  In PHP 4.1, this function will be moved to the following format:
+     <funcsynopsis>
+      <funcprototype>
+       <funcdef>int <function>odbc_fetch_into</function></funcdef>
+       <paramdef>int <parameter>result_id</parameter></paramdef>
+       <paramdef>array <parameter>result_array</parameter></paramdef>
+       <paramdef>int <parameter><optional>rownumber</optional></parameter></paramdef>
+      </funcprototype>
+     </funcsynopsis>
+        Please note, that <parameter>rownumber</parameter> will be optional, 
+        while <parameter>result_array</parameter> is not.
+       </para>
    </refsect1>
   </refentry>
 


Reply via email to