reference/ibm_db2/functions/db2-prepare.xml
871b71764cdca8238069f27436d96011a6a2cb36
...
...
@@ -11,10 +11,10 @@
11
11
<refsect1 role="description">
12
12
&reftitle.description;
13
13
<methodsynopsis>
14
-
<type>resource</type><methodname>db2_prepare</methodname>
14
+
<type class="union"><type>resource</type><type>false</type></type><methodname>db2_prepare</methodname>
15
15
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
16
16
<methodparam><type>string</type><parameter>statement</parameter></methodparam>
17
-
<methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam>
17
+
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
18
18
</methodsynopsis>
19
19

20
20

...
...
@@ -155,7 +155,7 @@ if ($stmt) {
155
155
</para>
156
156
<para>
157
157
In the following example, assume that the PHP script has been placed on
158
-
a publically accessible Web server and the application provides
158
+
a publicly accessible Web server and the application provides
159
159
different levels of access for different users. We shall also assume
160
160
that the application issues an SQL statement that updates the privilege
161
161
level of a newly registered user to the lowest level, taking the user ID
...
...
@@ -195,7 +195,6 @@ if ($stmt) {
195
195
</refsect1>
196
196

197
197
</refentry>
198
-

199
198
<!-- Keep this comment at the end of the file
200
199
Local variables:
201
200
mode: sgml
202
201