cvs: phpdoc-it /reference/uodbc/functions odbc-fetch-into.xml odbc-fetch-row.xml odbc-field-len.xml odbc-field-precision.xml odbc-field-scale.xml
odbc-field-type.xml odbc-free-result.xml odbc-longreadlen.xml odbc-result.xml odbc-setoption.xml
| From: | Andrioli Darvin | Date: | Fri, 09 Jan 2004 20:30:58 +0000 |
| Subject: | cvs: phpdoc-it /reference/uodbc/functions odbc-fetch-into.xml odbc-fetch-row.xml odbc-field-len.xml odbc-field-precision.xml odbc-field-scale.xml odbc-field-type.xml odbc-free-result.xml odbc-longreadlen.xml odbc-result.xml odbc-setoption.xml |
||
| Groups: | php.doc.it | ||
| Request: | Send a blank email to doc-it+get-495@lists.php.net to get a copy of this message | ||
darvina Fri Jan 9 15:30:58 2004 EDT
Modified files:
/phpdoc-it/reference/uodbc/functions odbc-fetch-into.xml
odbc-fetch-row.xml
odbc-field-len.xml
odbc-field-precision.xml
odbc-field-scale.xml
odbc-field-type.xml
odbc-free-result.xml
odbc-longreadlen.xml
odbc-result.xml
odbc-setoption.xml
Log:
Sync to En tree
Index: phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml:1.3 phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml:1.4 --- phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml:1.3 Fri Oct 3 15:27:48 2003 +++ phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-fetch-into' in en/ tree in rev 1.34 --> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.34 --> <refentry id="function.odbc-fetch-into"> <refnamediv> @@ -107,7 +107,7 @@ <programlisting role="php"> <![CDATA[ <?php -$rc = odbc_fetch_into($res_id,$my_array, 2); +$rc = odbc_fetch_into($res_id, $my_array, 2); ?> ]]> </programlisting> Index: phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-fetch-row' in en/ tree in rev 1.29 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.29 --> <refentry id="function.odbc-fetch-row"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-len.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-len.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-len.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-len.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-len.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-len' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-field-len"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-precision' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.3 --> <refentry id="function.odbc-field-precision"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-scale' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.3 --> <refentry id="function.odbc-field-scale"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-type.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-type.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-type.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-type.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-type.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-type' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-field-type"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-free-result.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-free-result.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-free-result.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-free-result.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-free-result.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-free-result' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-free-result"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-longreadlen' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-longreadlen"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-result.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-result.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-result.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-result.xml:1.2 Wed Apr 17 03:08:48 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-result.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-result' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-result"> <refnamediv> @@ -22,10 +22,11 @@ Il parametro <parameter>campo</parameter> può essere sia un intero indicante il numero di colonna del campo desiderato; sia una stringa contenente il nome del campo. Ad esempio: - <informalexample><programlisting> + <informalexample> + <programlisting role="php"> <![CDATA[ -$item_3 = odbc_result ($Query_ID, 3); -$item_val = odbc_result ($Query_ID, "val"); +$item_3 = odbc_result($Query_ID, 3); +$item_val = odbc_result($Query_ID, "val"); ]]> </programlisting> </informalexample> Index: phpdoc-it/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-setoption.xml:1.3 phpdoc-it/reference/uodbc/functions/odbc-setoption.xml:1.4 --- phpdoc-it/reference/uodbc/functions/odbc-setoption.xml:1.3 Fri Oct 3 15:27:48 2003 +++ phpdoc-it/reference/uodbc/functions/odbc-setoption.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-setoption' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.3 --> <refentry id="function.odbc-setoption"> <refnamediv> @@ -65,14 +65,14 @@ // Pertanto questo esempio ha il medesimo effetto di: // odbc_autocommit($conn, true); -odbc_setoption ($conn, 1, 102, 1); +odbc_setoption($conn, 1, 102, 1); // 2. Il valore 0 per il campo opzione in SQLSetStmtOption() indica SQL_QUERY_TIMEOUT. // In questo esempio si setta il timeout di una query a 30 secondi. -$result = odbc_prepare ($conn, $sql); -odbc_setoption ($result, 2, 0, 30); -odbc_execute ($result); +$result = odbc_prepare($conn, $sql); +odbc_setoption($result, 2, 0, 30); +odbc_execute($result); ?> ]]> </programlisting>
Index: phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml:1.3 phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml:1.4 --- phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml:1.3 Fri Oct 3 15:27:48 2003 +++ phpdoc-it/reference/uodbc/functions/odbc-fetch-into.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-fetch-into' in en/ tree in rev 1.34 --> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.34 --> <refentry id="function.odbc-fetch-into"> <refnamediv> @@ -107,7 +107,7 @@ <programlisting role="php"> <![CDATA[ <?php -$rc = odbc_fetch_into($res_id,$my_array, 2); +$rc = odbc_fetch_into($res_id, $my_array, 2); ?> ]]> </programlisting> Index: phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-fetch-row.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-fetch-row' in en/ tree in rev 1.29 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.29 --> <refentry id="function.odbc-fetch-row"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-len.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-len.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-len.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-len.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-len.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-len' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-field-len"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-precision.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-precision' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.3 --> <refentry id="function.odbc-field-precision"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-scale.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-scale' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.3 --> <refentry id="function.odbc-field-scale"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-field-type.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-field-type.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-field-type.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-field-type.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-field-type.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-field-type' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-field-type"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-free-result.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-free-result.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-free-result.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-free-result.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-free-result.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-free-result' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-free-result"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml:1.2 Wed Apr 17 03:08:46 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-longreadlen.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-longreadlen' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-longreadlen"> <refnamediv> Index: phpdoc-it/reference/uodbc/functions/odbc-result.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-result.xml:1.2 phpdoc-it/reference/uodbc/functions/odbc-result.xml:1.3 --- phpdoc-it/reference/uodbc/functions/odbc-result.xml:1.2 Wed Apr 17 03:08:48 2002 +++ phpdoc-it/reference/uodbc/functions/odbc-result.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-result' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.2 --> <refentry id="function.odbc-result"> <refnamediv> @@ -22,10 +22,11 @@ Il parametro <parameter>campo</parameter> può essere sia un intero indicante il numero di colonna del campo desiderato; sia una stringa contenente il nome del campo. Ad esempio: - <informalexample><programlisting> + <informalexample> + <programlisting role="php"> <![CDATA[ -$item_3 = odbc_result ($Query_ID, 3); -$item_val = odbc_result ($Query_ID, "val"); +$item_3 = odbc_result($Query_ID, 3); +$item_val = odbc_result($Query_ID, "val"); ]]> </programlisting> </informalexample> Index: phpdoc-it/reference/uodbc/functions/odbc-setoption.xml diff -u phpdoc-it/reference/uodbc/functions/odbc-setoption.xml:1.3 phpdoc-it/reference/uodbc/functions/odbc-setoption.xml:1.4 --- phpdoc-it/reference/uodbc/functions/odbc-setoption.xml:1.3 Fri Oct 3 15:27:48 2003 +++ phpdoc-it/reference/uodbc/functions/odbc-setoption.xml Fri Jan 9 15:30:57 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/uodbc.xml, last change in rev 1.10 --> <!-- last change to 'odbc-setoption' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: darvina Status: ready --> <!-- OLD-Revision: 1.39/EN.1.3 --> <refentry id="function.odbc-setoption"> <refnamediv> @@ -65,14 +65,14 @@ // Pertanto questo esempio ha il medesimo effetto di: // odbc_autocommit($conn, true); -odbc_setoption ($conn, 1, 102, 1); +odbc_setoption($conn, 1, 102, 1); // 2. Il valore 0 per il campo opzione in SQLSetStmtOption() indica SQL_QUERY_TIMEOUT. // In questo esempio si setta il timeout di una query a 30 secondi. -$result = odbc_prepare ($conn, $sql); -odbc_setoption ($result, 2, 0, 30); -odbc_execute ($result); +$result = odbc_prepare($conn, $sql); +odbc_setoption($result, 2, 0, 30); +odbc_execute($result); ?> ]]> </programlisting>