Adding documentation for the odbc-data-source function

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@91653 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dan Kalowsky 2002-08-12 16:11:28 +00:00
parent 526826c1fb
commit ba96ea06ad

View file

@ -0,0 +1,48 @@
<?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
-->