reference/mysqli/mysqli_stmt/attr-set.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -57,8 +57,8 @@
57
57
<entry>MYSQLI_STMT_ATTR_CURSOR_TYPE</entry>
58
58
<entry>
59
59
Type of cursor to open for statement when <function>mysqli_stmt_execute</function>
60
-
is invoked. <parameter>value</parameter> can be <literal>MYSQLI_CURSOR_TYPE_NO_CURSOR</literal>
61
-
(the default) or <literal>MYSQLI_CURSOR_TYPE_READ_ONLY</literal>.
60
+
is invoked. <parameter>value</parameter> can be <constant>MYSQLI_CURSOR_TYPE_NO_CURSOR</constant>
61
+
(the default) or <constant>MYSQLI_CURSOR_TYPE_READ_ONLY</constant>.
62
62
</entry>
63
63
</row>
64
64
<row>
...
...
@@ -74,8 +74,8 @@
74
74
</table>
75
75
</para>
76
76
<para>
77
-
If you use the <literal>MYSQLI_STMT_ATTR_CURSOR_TYPE</literal> option with
78
-
<literal>MYSQLI_CURSOR_TYPE_READ_ONLY</literal>, a cursor is opened for the
77
+
If you use the <constant>MYSQLI_STMT_ATTR_CURSOR_TYPE</constant> option with
78
+
<constant>MYSQLI_CURSOR_TYPE_READ_ONLY</constant>, a cursor is opened for the
79
79
statement when you invoke <function>mysqli_stmt_execute</function>. If there
80
80
is already an open cursor from a previous <function>mysqli_stmt_execute</function> call,
81
81
it closes the cursor before opening a new one. <function>mysqli_stmt_reset</function>
82
82