pop-up multiselection array and where condition

From: giuseppe(dot)derossi(at)email(dot)it
To: pgsql-admin(at)postgresql(dot)org
Subject: pop-up multiselection array and where condition
Date: 2007-08-27 10:10:02
Message-ID: 12a10085a718dbc97157094901d7c60d@164.129.1.43
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Browse pgsql-admin by date

  From Date Subject
Next Message Geoffrey 2007-08-27 14:13:10 vacuum killed because of out of memory
Previous Message giuseppe.derossi 2007-08-27 09:29:21 geometry poligons performance and index