kalowsky                Mon Aug 12 12:11:29 2002 EDT

  Added files:                 
    /phpdoc/en/reference/uodbc/functions        odbc-data-source.xml 
  Log:
  Adding documentation for the odbc-data-source function
  
  

Index: phpdoc/en/reference/uodbc/functions/odbc-data-source.xml
+++ phpdoc/en/reference/uodbc/functions/odbc-data-source.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
  <refentry id="function.odbc-data-source">
   <refnamediv>
    <refname>odbc_data_source</refname>
    <refpurpose>Returns information about a current connection</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>resource</type><methodname>odbc_data_source</methodname>
      
<methodparam><type>resource</type><parameter>connection_id</parameter></methodparam>
      <methodparam><type>constant</type><parameter>fetch_type</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returns &false; on error, and an array upon success.
    </para>
    <para>
     This function will return information about the active connection
     following the information from within the DSN.  The
     <parameter>connection_id</parameter> is required to be a valid ODBC
     connection.  The <parameter>fetch_type</parameter> can be one of two
     constant types: SQL_FETCH_FIRST, SQL_FETCH_NEXT.  Use SQL_FETCH_FIRST the
     first time this function is called, thereafter use the SQL_FETCH_NEXT.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to