RE: only first checked item passed

2003-08-22 Thread Bob Showalter
Prachi Shah wrote: > Hi all, > > I have a CGI script which does a select on a database and > builds a checkbox > group iterating through the result of the select. The problem > is when a user > submits the form, only the first checked item in the checkbox > group is > passed. How do you know only

Re: only first checked item passed

2003-08-22 Thread Prachi Shah
So, any other ideas? Original Message Follows From: [EMAIL PROTECTED] (Randal L. Schwartz) To: [EMAIL PROTECTED] Subject: Re: only first checked item passed Date: 22 Aug 2003 07:12:24 -0700 >>>>> "Nyimi" == Nyimi Jose <[EMAIL PROTECTED]> writes:

Re: only first checked item passed

2003-08-22 Thread Randal L. Schwartz
> "Nyimi" == Nyimi Jose <[EMAIL PROTECTED]> writes: Nyimi> Try Nyimi> (@rows)=$sth->fetchrow_array; Nyimi> Not Nyimi> @rows=$sth->fetchrow_array; Doesn't make a bit of difference. Useless parens there. Makes a difference only in: ($foo) = .. vs $foo = .. -- Randal L.

RE: only first checked item passed

2003-08-22 Thread NYIMI Jose (BMB)
Try (@rows)=$sth->fetchrow_array; Not @rows=$sth->fetchrow_array; José. -Original Message- From: Prachi Shah [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 11:06 PM To: [EMAIL PROTECTED] Subject: only first checked item passed Hi all, I have a CGI script which does a selec