CVS update: php3/doc/functions

From: Date: Sun, 10 Jan 1999 05:42:52 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-3427@lists.php.net to get a copy of this message
Date: Sunday January 10, 1999 @ 0:42 Author: rasmus Update of /repository/php3/doc/functions In directory asf:/home/rasmus/php3/doc/functions Modified Files: uodbc.sgml Log Message: Document optional 4th parameter to odbc_[p]connect Index: php3/doc/functions/uodbc.sgml diff -c php3/doc/functions/uodbc.sgml:1.20 php3/doc/functions/uodbc.sgml:1.21 *** php3/doc/functions/uodbc.sgml:1.20 Sun Jan 10 00:25:40 1999 --- php3/doc/functions/uodbc.sgml Sun Jan 10 00:42:48 1999 *************** *** 218,229 **** <paramdef>string <parameter>dsn</parameter></paramdef> <paramdef>string <parameter>user</parameter></paramdef> <paramdef>string <parameter>password</parameter></paramdef> </funcsynopsis> <para> Returns an ODBC connection id or 0 (<literal>false</literal>) on error. ! <para> The connection id returned by this functions is needed by other ! ODBC functions. You can have multiple connections open at once. For persistent connections see <function>odbc_pconnect</function>. </refsect1> </refentry> --- 218,254 ---- <paramdef>string <parameter>dsn</parameter></paramdef> <paramdef>string <parameter>user</parameter></paramdef> <paramdef>string <parameter>password</parameter></paramdef> + <paramdef>int <parameter><optional>cursor_type</optional></parameter></paramdef> </funcsynopsis> <para> Returns an ODBC connection id or 0 (<literal>false</literal>) on error. ! <simpara> The connection id returned by this functions is needed by other ! ODBC functions. You can have multiple connections open at once. The ! optional fourth parameter sets the type of cursor to be used for ! this connection. T his parameter is not normally needed. However, ! with some ODBC drivers, executing a complex stored procedure may ! fail with an error similar to: "Cannot open a cursor on a stored ! procedure that has anything other than a single select statement ! in it". Using SQL_CUR_USE_ODBC may avoid that error. ! <simpara> ! The following constants are defined for cursortype: ! <para> ! <itemizedlist> ! <listitem><simpara> ! SQL_CUR_USE_IF_NEEDED ! </simpara></listitem> ! <listitem><simpara> ! SQL_CUR_USE_ODBC ! </simpara></listitem> ! <listitem><simpara> ! SQL_CUR_USE_DRIVER ! </simpara></listitem> ! <listitem><simpara> ! SQL_CUR_DEFAULT ! </simpara></listitem> ! </itemizedlist> ! <simpara> For persistent connections see <function>odbc_pconnect</function>. </refsect1> </refentry> *************** *** 555,560 **** --- 580,586 ---- <paramdef>string <parameter>dsn</parameter></paramdef> <paramdef>string <parameter>user</parameter></paramdef> <paramdef>string <parameter>password</parameter></paramdef> + <paramdef>int <parameter><optional>cursor_type</optional></parameter></paramdef> </funcsynopsis> <para> Returns an ODBC connection id or 0 (<literal>false</literal>) on error. This *************** *** 572,578 **** program. </simpara></note> <para> ! For more information on persistent connections, refer to the PHP3 FAQ. </refsect1> </refentry> --- 598,606 ---- program. </simpara></note> <para> ! For information about the optional cursor_type parameter see the ! <function>odbc_connect</function> function. For more information ! on persistent connections, refer to the PHP3 FAQ. </refsect1> </refentry> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#3427) next »