reference/uodbc/functions/odbc-execute.xml
6fadea3dfa2365f52bcb4146e955e4a4baa5ab82
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>odbc_execute</methodname>
13
-
<methodparam><type>resource</type><parameter>result_id</parameter></methodparam>
14
-
<methodparam choice="opt"><type>array</type><parameter>parameters_array</parameter></methodparam>
13
+
<methodparam><type>resource</type><parameter>statement</parameter></methodparam>
14
+
<methodparam choice="opt"><type>array</type><parameter>params</parameter><initializer>[]</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Executes a statement prepared with <function>odbc_prepare</function>.
...
...
@@ -23,7 +23,7 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>result_id</parameter></term>
26
+
<term><parameter>statement</parameter></term>
27
27
<listitem>
28
28
<para>
29
29
The result id <type>resource</type>, from <function>odbc_prepare</function>.
...
...
@@ -31,16 +31,16 @@
31
31
</listitem>
32
32
</varlistentry>
33
33
<varlistentry>
34
-
<term><parameter>parameters_array</parameter></term>
34
+
<term><parameter>params</parameter></term>
35
35
<listitem>
36
36
<para>
37
-
Parameters in <parameter>parameter_array</parameter> will be
37
+
Parameters in <parameter>params</parameter> will be
38
38
substituted for placeholders in the prepared statement in order.
39
39
Elements of this array will be converted to strings by calling this
40
40
function.
41
41
</para>
42
42
<para>
43
-
Any parameters in <parameter>parameter_array</parameter> which
43
+
Any parameters in <parameter>params</parameter> which
44
44
start and end with single quotes will be taken as the name of a
45
45
file to read and send to the database server as the data for the
46
46
appropriate placeholder.
...
...
@@ -91,8 +91,7 @@ $success = odbc_execute($stmt, array($a, $b, $c));
91
91
<para>
92
92
If you need to call a stored procedure using INOUT or OUT parameters,
93
93
the recommended workaround is to use a native extension for your database
94
-
(for example, <link linkend="ref.mssql">mssql</link> for MS SQL Server,
95
-
or <link linkend="ref.mssql">oci8</link> for Oracle).
94
+
(for example, <link linkend="ref.oci8">oci8</link> for Oracle).
96
95
</para>
97
96
</refsect1>
98
97

...
...
@@ -106,7 +105,6 @@ $success = odbc_execute($stmt, array($a, $b, $c));
106
105
</refsect1>
107
106

108
107
</refentry>
109
-

110
108
<!-- Keep this comment at the end of the file
111
109
Local variables:
112
110
mode: sgml
113
111