Fwd: query inside a loop

Jake Peavy <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
oops, forgot the list on this one.  I sure wish it was in the replyto....

-jp

---------- Forwarded message ----------
From: Jake Peavy <[email protected]>
Date: Feb 3, 2006 5:16 PM
Subject: Re: query inside a loop
To: Sham Prasad <[email protected]>


On 2/2/06, Sham Prasad <[email protected]> wrote:
>
> Hi all,


<snip>

i want to know is it possible to pass variable
> to a query?



Search for "Placeholders and Bind Values"

Also, you should put your db connect outside your for loop but I'll let you
muddle through the rest of your nutty perl which is, I'm sure, where your
syntax error is coming from.

-jp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.