reference/mysql/functions/mysql-data-seek.xml
dbf319f8b2d859edf2b1342014c4dbdf6333b81c
...
...
@@ -6,6 +6,16 @@
6
6
<refpurpose>Move internal result pointer</refpurpose>
7
7
</refnamediv>
8
8

9
+
<refsynopsisdiv>
10
+
<warning>
11
+
&mysql.alternative.note;
12
+
<simplelist role="alternatives">
13
+
<member><function>mysqli_data_seek</function></member>
14
+
<member><constant>PDO::FETCH_ORI_ABS</constant></member>
15
+
</simplelist>
16
+
</warning>
17
+
</refsynopsisdiv>
18
+

9
19
<refsect1 role="description">
10
20
&reftitle.description;
11
21
<methodsynopsis>
...
...
@@ -25,7 +35,7 @@
25
35
<parameter>row_number</parameter> should be a value in the range from 0 to
26
36
<function>mysql_num_rows</function> - 1. However if the result set
27
37
is empty (<function>mysql_num_rows</function> == 0), a seek to 0 will
28
-
fail with a <link linkend="errorfunc.constants.errorlevels.e-warning">E_WARNING</link> and
38
+
fail with an <constant>E_WARNING</constant> and
29
39
<function>mysql_data_seek</function> will return &false;.
30
40
</para>
31
41
</refsect1>
...
...
@@ -100,16 +110,6 @@ mysql_free_result($result);
100
110
<refsect1 role="notes">
101
111
&reftitle.notes;
102
112
<note>
103
-
&mysql.alternative.note;
104
-
<para>
105
-
&mysql.alternative.include;
106
-
<simplelist>
107
-
<member><function>mysqli_data_seek</function></member>
108
-
<member><constant>PDO::FETCH_ORI_ABS</constant></member>
109
-
</simplelist>
110
-
</para>
111
-
</note>
112
-
<note>
113
113
<para>
114
114
The function <function>mysql_data_seek</function> can be used in
115
115
conjunction only with <function>mysql_query</function>, not with
116
116