RE: help with forming query statement from CGI params

2002-07-31 Thread Kipp, James
> > > > 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

RE: help with forming query statement from CGI params

2002-07-31 Thread Kipp, James
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

Re: help with forming query statement from CGI params

2002-07-31 Thread Michael A Chase
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

help with forming query statement from CGI params

2002-07-31 Thread Kipp, James
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