reference/uodbc/functions/odbc-longreadlen.xml
902c2b77f827e8d0ecccf4f62fb90065d2f6ef79
...
...
@@ -9,11 +9,13 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>odbc_longreadlen</methodname>
12
-
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
12
+
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
13
13
<methodparam><type>int</type><parameter>length</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Enables handling of LONG and LONGVARBINARY columns.
16
+
Controls handling of <literal>LONG</literal>, <literal>LONGVARCHAR</literal> and <literal>LONGVARBINARY</literal> columns.
17
+
The default length can be set using the
18
+
<link linkend="ini.uodbc.defaultlrl">uodbc.defaultlrl</link> &php.ini; directive.
17
19
</para>
18
20
</refsect1>
19
21
<refsect1 role="parameters">
...
...
@@ -21,7 +23,7 @@
21
23
<para>
22
24
<variablelist>
23
25
<varlistentry>
24
-
<term><parameter>result_id</parameter></term>
26
+
<term><parameter>statement</parameter></term>
25
27
<listitem>
26
28
<para>
27
29
The result identifier.
...
...
@@ -33,8 +35,8 @@
33
35
<listitem>
34
36
<para>
35
37
The number of bytes returned to PHP is controlled by the parameter
36
-
length. If it is set to 0, Long column data is passed through to the
37
-
client.
38
+
length. If it is set to <literal>0</literal>, long column data is passed through to the
39
+
client (i.e. printed) when retrieved with <function>odbc_result</function>.
38
40
</para>
39
41
</listitem>
40
42
</varlistentry>
...
...
@@ -51,13 +53,12 @@
51
53
&reftitle.notes;
52
54
<note>
53
55
<para>
54
-
Handling of LONGVARBINARY columns is also affected by
56
+
Handling of <literal>LONGVARBINARY</literal> columns is also affected by
55
57
<function>odbc_binmode</function>.
56
58
</para>
57
59
</note>
58
60
</refsect1>
59
61
</refentry>
60
-

61
62
<!-- Keep this comment at the end of the file
62
63
Local variables:
63
64
mode: sgml
64
65