<?xml version="1.0" encoding="windows-1252"?>
<node id="608257" title="Re: Error with the bind_param" created="2007-04-04 07:53:30" updated="2007-04-04 03:53:30">
<type id="11">
note</type>
<author id="245082">
davidrw</author>
<data>
<field name="doctext">
are you _sure_ &lt;c&gt;@CHOICE_B[1 .. $elements_in_array_B]&lt;/c&gt; is what you want? Seems like it should be just &lt;c&gt;@CHOICE_B&lt;/c&gt; ...&lt;br&gt;
&lt;br&gt;
You can also simplify the whole thing (see [mod://DBI] docs) into one line:
&lt;code&gt;
my $rv = $dbh-&gt;do($Command_B, {}, @CHOICE_B) or die "Couldn't do query: ".$dbh-&gt;errstr;
&lt;/code&gt;</field>
<field name="root_node">
608251</field>
<field name="parent_node">
608251</field>
</data>
</node>
