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

107
107
</refentry>
108
-

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