Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3EF359FA36A for ; Wed, 29 Aug 2007 11:00:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98451-01 for ; Wed, 29 Aug 2007 11:00:51 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by postgresql.org (Postfix) with ESMTP id 270759FA243 for ; Wed, 29 Aug 2007 11:00:50 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Wed, 29 Aug 2007 09:00:48 -0500 Message-Id: <46D535B5.EE98.0025.0@wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 7.0.2 Date: Wed, 29 Aug 2007 09:00:38 -0500 From: "Kevin Grittner" To: , Subject: Re: Fw: pop-up multiselection array and where condition References: <6e07a86b040326879dfe5a7bfb1337c5@164.129.1.43> In-Reply-To: <6e07a86b040326879dfe5a7bfb1337c5@164.129.1.43> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/389 X-Sequence-Number: 26720 >>> On Wed, Aug 29, 2007 at 1:53 AM, in message <6e07a86b040326879dfe5a7bfb1337c5@164.129.1.43>, wrote:=20 > I've to perform a where condition which includes the output from a > multiselectio pop-up: ie user can choose one or more item from a pop-up > munu, let's say (item1,item3,item10), then I want to send this set of > values > as an array or table via php to a query that should have as where = condition > some like that: > =20 > select * from table1 where field1 is in (array{item1,item3,item10}) =20 Have you tried?: =20 select * from table1 where field1 in (item1,item3,item10) =20 -Kevin =20