reference/mysqli/mysqli_stmt/sqlstate.xml
d68e83b719028bb068785cccc3205c23be530564
...
...
@@ -10,11 +10,11 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<para>&style.oop;</para>
13
-
<fieldsynopsis><type>string</type><varname linkend="mysqli-stmt.sqlstate">mysqli_stmt->sqlstate</varname></fieldsynopsis>
13
+
<fieldsynopsis><type>string</type><varname linkend="mysqli-stmt.sqlstate">mysqli_stmt-&gt;sqlstate</varname></fieldsynopsis>
14
14
<para>&style.procedural;</para>
15
15
<methodsynopsis>
16
16
<type>string</type><methodname>mysqli_stmt_sqlstate</methodname>
17
-
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
17
+
<methodparam><type>mysqli_stmt</type><parameter>statement</parameter></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
Returns a string containing the SQLSTATE error code
...
...
@@ -42,16 +42,6 @@
42
42
</para>
43
43
</refsect1>
44
44

45
-
<refsect1 role="notes">
46
-
&reftitle.notes;
47
-
<note>
48
-
<para>
49
-
Note that not all MySQL errors are yet mapped to SQLSTATE's.
50
-
The value <literal>HY000</literal> (general error) is used for unmapped errors.
51
-
</para>
52
-
</note>
53
-
</refsect1>
54
-

55
45
<refsect1 role="examples">
56
46
&reftitle.examples;
57
47
<example>
...
...
@@ -140,6 +130,16 @@ Error: 42S02.
140
130
</example>
141
131
</refsect1>
142
132

133
+
<refsect1 role="notes">
134
+
&reftitle.notes;
135
+
<note>
136
+
<para>
137
+
Note that not all MySQL errors are yet mapped to SQLSTATE's.
138
+
The value <literal>HY000</literal> (general error) is used for unmapped errors.
139
+
</para>
140
+
</note>
141
+
</refsect1>
142
+

143
143
<refsect1 role="seealso">
144
144
&reftitle.seealso;
145
145
<para>
...
...
@@ -151,7 +151,6 @@ Error: 42S02.
151
151
</refsect1>
152
152

153
153
</refentry>
154
-

155
154
<!-- Keep this comment at the end of the file
156
155
Local variables:
157
156
mode: sgml
158
157