reference/uodbc/functions/odbc-prepare.xml
902c2b77f827e8d0ecccf4f62fb90065d2f6ef79
...
...
@@ -9,9 +9,9 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>odbc_prepare</methodname>
13
-
<methodparam><type>resource</type><parameter>connection_id</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>query_string</parameter></methodparam>
12
+
<type class="union"><type>resource</type><type>false</type></type><methodname>odbc_prepare</methodname>
13
+
<methodparam><type>resource</type><parameter>odbc</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>query</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Prepares a statement for execution. The result identifier can be used
...
...
@@ -30,13 +30,13 @@
30
30
<para>
31
31
<variablelist>
32
32
<varlistentry>
33
-
<term><parameter>connection_id</parameter></term>
33
+
<term><parameter>odbc</parameter></term>
34
34
<listitem>
35
35
&odbc.connection.id;
36
36
</listitem>
37
37
</varlistentry>
38
38
<varlistentry>
39
-
<term><parameter>query_string</parameter></term>
39
+
<term><parameter>query</parameter></term>
40
40
<listitem>
41
41
<para>
42
42
The query string statement being prepared.
...
...
@@ -94,7 +94,6 @@ $success = odbc_execute($stmt, array($a, $b, $c));
94
94
</refsect1>
95
95

96
96
</refentry>
97
-

98
97
<!-- Keep this comment at the end of the file
99
98
Local variables:
100
99
mode: sgml
101
100