On Wednesday, January 16, 2002, at 07:54 AM, Tony Vassilev wrote:
>
> That method of course requires that I know the number of bindings
> ocurring.
> For an arbitrary number, I've been trying this:
>
> my $sth = $dbh->prepare($sql) || die "couldn't prepate";
> foreach $x (0..$#names) {
> $sth->bind_param($x+1, "%$names[$x]%");
> }
> $sth->execute || die "error couldn't execute";
>Why is the number of bindings arbitrary?
