> >
> > so if the user selects (in the checkbox) hosts: a,b,c ,how
> can tell the
> > query to look for all hosts matching the selections? Should
> I join the array
> > into a string and use something like "WHERE host IN (.) ?
> > any help appreciated
>
>$dbh -> {$RaiseErrors} = 1; # A
IL PROTECTED]
> Subject: Re: help with forming query statement from CGI params
>
>
> On Wed, 31 Jul 2002 10:03:14 -0400 "Kipp, James"
> <[EMAIL PROTECTED]> wrote:
>
> > I have a checkbox that passes the selected 'hosts' to my
> CGI script. So
On Wed, 31 Jul 2002 10:03:14 -0400 "Kipp, James" <[EMAIL PROTECTED]> wrote:
> I have a checkbox that passes the selected 'hosts' to my CGI script. So i
> collected the params with:
> my @hosts = $q->param('host');
>
> so if the user selects (in the checkbox) hosts: a,b,c ,how can tell the
> quer
Not sure if this question belongs on this list or the CGI list, but here
goes:
I have a checkbox that passes the selected 'hosts' to my CGI script. So i
collected the params with:
my @hosts = $q->param('host');
so if the user selects (in the checkbox) hosts: a,b,c ,how can tell the
query to look