3 messages in com.mysql.lists.perlFwd: query inside a loop
FromSent OnAttachments
Sham Prasad02 Feb 2006 03:25 
Jake Peavy03 Feb 2006 16:16 
Jake Peavy06 Feb 2006 12:13 
Subject:Fwd: query inside a loop
From:Jake Peavy (djst@gmail.com)
Date:02/03/2006 04:16:22 PM
List:com.mysql.lists.perl

oops, forgot the list on this one. I sure wish it was in the replyto....

-jp

---------- Forwarded message ---------- From: Jake Peavy <djst@gmail.com> Date: Feb 3, 2006 5:16 PM Subject: Re: query inside a loop To: Sham Prasad <sham@gmail.com>

On 2/2/06, Sham Prasad <sham@gmail.com> 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