reference/uodbc/functions/odbc-fetch-row.xml
902c2b77f827e8d0ecccf4f62fb90065d2f6ef79
...
...
@@ -9,8 +9,8 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>odbc_fetch_row</methodname>
12
-
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
13
-
<methodparam choice="opt"><type>int</type><parameter>row_number</parameter></methodparam>
12
+
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
13
+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>row</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Fetches a row of the data that was returned by <function>odbc_do</function>
...
...
@@ -24,7 +24,7 @@
24
24
<para>
25
25
<variablelist>
26
26
<varlistentry>
27
-
<term><parameter>result_id</parameter></term>
27
+
<term><parameter>statement</parameter></term>
28
28
<listitem>
29
29
<para>
30
30
The result identifier.
...
...
@@ -32,22 +32,22 @@
32
32
</listitem>
33
33
</varlistentry>
34
34
<varlistentry>
35
-
<term><parameter>row_number</parameter></term>
35
+
<term><parameter>row</parameter></term>
36
36
<listitem>
37
37
<para>
38
-
If <parameter>row_number</parameter> is not specified,
38
+
If <parameter>row</parameter> is not specified,
39
39
<function>odbc_fetch_row</function> will try to fetch the next row in
40
40
the result set. Calls to <function>odbc_fetch_row</function> with and
41
-
without <parameter>row_number</parameter> can be mixed.
41
+
without <parameter>row</parameter> can be mixed.
42
42
</para>
43
43
<para>
44
44
To step through the result more than once, you can call
45
45
<function>odbc_fetch_row</function> with
46
-
<parameter>row_number</parameter> 1, and then continue doing
46
+
<parameter>row</parameter> 1, and then continue doing
47
47
<function>odbc_fetch_row</function> without
48
-
<parameter>row_number</parameter> to review the result. If a driver
48
+
<parameter>row</parameter> to review the result. If a driver
49
49
doesn't support fetching rows by number, the
50
-
<parameter>row_number</parameter> parameter is ignored.
50
+
<parameter>row</parameter> parameter is ignored.
51
51
</para>
52
52
</listitem>
53
53
</varlistentry>
...
...
@@ -60,8 +60,29 @@
60
60
Returns &true; if there was a row, &false; otherwise.
61
61
</para>
62
62
</refsect1>
63
-
</refentry>
64
63

64
+
<refsect1 role="changelog">
65
+
&reftitle.changelog;
66
+
<informaltable>
67
+
<tgroup cols="2">
68
+
<thead>
69
+
<row>
70
+
<entry>&Version;</entry>
71
+
<entry>&Description;</entry>
72
+
</row>
73
+
</thead>
74
+
<tbody>
75
+
<row>
76
+
<entry>8.0.0</entry>
77
+
<entry>
78
+
<parameter>row</parameter> is nullable now.
79
+
</entry>
80
+
</row>
81
+
</tbody>
82
+
</tgroup>
83
+
</informaltable>
84
+
</refsect1>
85
+
</refentry>
65
86
<!-- Keep this comment at the end of the file
66
87
Local variables:
67
88
mode: sgml
68
89