Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3F04E9FA228 for ; Wed, 29 Aug 2007 03:53:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 07086-07 for ; Wed, 29 Aug 2007 03:53:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp-out01.email.it (smtp-out01.email.it [212.97.34.21]) by postgresql.org (Postfix) with ESMTP id C20719F9F37 for ; Wed, 29 Aug 2007 03:53:48 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out01.email.it (Postfix) with ESMTP id 9068F4012 for ; Wed, 29 Aug 2007 08:53:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at email.it Received: from smtp-out01.email.it ([127.0.0.1]) by localhost (smtp-out01.email.it [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tTyB7Gx0Q4Wk for ; Wed, 29 Aug 2007 08:53:45 +0200 (CEST) Date: Wed, 29 Aug 2007 08:53:46 +0200 To: pgsql-admin@postgresql.org From: giuseppe.derossi@email.it Reply-to: giuseppe.derossi@email.it Subject: Fw: pop-up multiselection array and where condition Message-ID: <6e07a86b040326879dfe5a7bfb1337c5@164.129.1.43> X-Priority: X-Mailer: Webmail-Email.it [Mailer version 1.70] X-SenderIP: 164.129.1.43 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/383 X-Sequence-Number: 26714 Hi, 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: select * from table1 where field1 is in (array{item1,item3,item10}) is there a stright way to do that ? thanks in advance and best regards Giu -- -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: 250 biglietti da visita Gratis + 42 modelli e Etichette per Indirizzo Gratis + Porta biglietti Gratis -Offerta limitata! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6785&d=20070829