reference/mysqli/mysqli/real-query.xml
d470f625f96a83d65464619297cccad7ce46e743
...
...
@@ -10,14 +10,14 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<para>&style.oop;</para>
13
-
<methodsynopsis role="oop">
14
-
<type>bool</type><methodname>mysqli::real_query</methodname>
15
-
<methodparam><type>string</type><parameter>query</parameter></methodparam>
16
-
</methodsynopsis>
13
+
<methodsynopsis role="mysqli">
14
+
<modifier>public</modifier> <type>bool</type><methodname>mysqli::real_query</methodname>
15
+
<methodparam><type>string</type><parameter>query</parameter></methodparam>
16
+
</methodsynopsis>
17
17
<para>&style.procedural;</para>
18
18
<methodsynopsis>
19
19
<type>bool</type><methodname>mysqli_real_query</methodname>
20
-
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
20
+
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
21
21
<methodparam><type>string</type><parameter>query</parameter></methodparam>
22
22
</methodsynopsis>
23
23
<para>
...
...
@@ -25,6 +25,7 @@
25
25
retrieved or stored using the <function>mysqli_store_result</function> or
26
26
<function>mysqli_use_result</function> functions.
27
27
</para>
28
+
&mysqli.sqlinjection.warning;
28
29
<para>
29
30
In order to determine if a given query should return a result set or not,
30
31
see <function>mysqli_field_count</function>.
...
...
@@ -40,11 +41,7 @@
40
41
<term><parameter>query</parameter></term>
41
42
<listitem>
42
43
<para>
43
-
The query, as a string.
44
-
</para>
45
-
<para>
46
-
Data inside the query should be <link
47
-
linkend="mysqli.real-escape-string">properly escaped</link>.
44
+
The query string.
48
45
</para>
49
46
</listitem>
50
47
</varlistentry>
...
...
@@ -59,6 +56,11 @@
59
56
</para>
60
57
</refsect1>
61
58

59
+
<refsect1 role="errors">
60
+
&reftitle.errors;
61
+
&mysqli.conditionalexception;
62
+
</refsect1>
63
+

62
64
<refsect1 role="seealso">
63
65
&reftitle.seealso;
64
66
<para>
...
...
@@ -71,7 +73,6 @@
71
73
</refsect1>
72
74

73
75
</refentry>
74
-

75
76
<!-- Keep this comment at the end of the file
76
77
Local variables:
77
78
mode: sgml
78
79