didou Wed Jul 16 13:22:58 2003 EDT Modified files: /phpdoc/en/reference/uodbc/functions odbc-fetch-into.xml odbc-setoption.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml:1.2 phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml:1.3 --- phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml:1.2 Wed Apr 17 02:44:45 2002 +++ phpdoc/en/reference/uodbc/functions/odbc-fetch-into.xml Wed Jul 16 13:22:58 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/uodbc.xml, last change in rev 1.34 --> <refentry id="function.odbc-fetch-into"> <refnamediv> @@ -47,7 +47,9 @@ <title><function>odbc_fetch_into</function> pre 4.0.6 example </title> <programlisting role="php"> <![CDATA[ +<?php $rc = odbc_fetch_into($res_id, $my_array); +?> ]]> </programlisting> <para> @@ -55,9 +57,11 @@ </para> <programlisting role="php"> <![CDATA[ +<?php $rc = odbc_fetch_into($res_id, $row, $my_array); $rc = odbc_fetch_into($res_id, 1, $my_array); +?> ]]> </programlisting> </example> @@ -67,7 +71,9 @@ <title><function>odbc_fetch_into</function> 4.0.6 example</title> <programlisting role="php"> <![CDATA[ +<?php $rc = odbc_fetch_into($res_id, $my_array); +?> ]]> </programlisting> <para> @@ -75,8 +81,10 @@ </para> <programlisting role="php"> <![CDATA[ +<?php $row = 1; $rc = odbc_fetch_into($res_id, $row, $my_array); +?> ]]> </programlisting> </example> @@ -86,7 +94,9 @@ <title><function>odbc_fetch_into</function> 4.2.0 example</title> <programlisting role="php"> <![CDATA[ +<?php $rc = odbc_fetch_into($res_id, $my_array); +?> ]]> </programlisting> <para> @@ -94,7 +104,9 @@ </para> <programlisting role="php"> <![CDATA[ +<?php $rc = odbc_fetch_into($res_id,$my_array, 2); +?> ]]> </programlisting> </example> Index: phpdoc/en/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.2 phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.3 --- phpdoc/en/reference/uodbc/functions/odbc-setoption.xml:1.2 Wed Apr 17 02:44:53 2002 +++ phpdoc/en/reference/uodbc/functions/odbc-setoption.xml Wed Jul 16 13:22:58 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- splitted from ./en/functions/uodbc.xml, last change in rev 1.3 --> <refentry id="function.odbc-setoption"> <refnamediv> @@ -58,6 +58,7 @@ <title>ODBC Setoption Examples</title> <programlisting role="php"> <![CDATA[ +<?php // 1. Option 102 of SQLSetConnectOption() is SQL_AUTOCOMMIT. // Value 1 of SQL_AUTOCOMMIT is SQL_AUTOCOMMIT_ON. // This example has the same effect as @@ -71,6 +72,7 @@ $result = odbc_prepare ($conn, $sql); odbc_setoption ($result, 2, 0, 30); odbc_execute ($result); +?> ]]> </programlisting> </example>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php