pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: giuseppe.derossi@email.it
To: pgsql-admin@postgresql.org
Subject: pop-up multiselection array and where condition
Date: Mon, 27 Aug 2007 12:10:02 +0200
Message-ID: <12a10085a718dbc97157094901d7c60d@164.129.1.43> (raw)

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:
 KILL BILL! scarica la colonna sonora del film: รจ in REGALO!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6614&d=20070827





view thread (3+ messages)  latest in thread

Message-ID: <12a10085a718dbc97157094901d7c60d@164.129.1.43>
Permalink:  ../12a10085a718dbc97157094901d7c60d@164.129.1.43/
Also on:    postgresql.org/message-id/12a10085a718dbc97157094901d7c60d@164.129.1.43

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: giuseppe.derossi@email.it
  Subject: Re: pop-up multiselection array and where condition
  In-Reply-To: <12a10085a718dbc97157094901d7c60d@164.129.1.43>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox