pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Timothy_Maguire@hartehanks.com
To: pgsql-php@postgresql.org
Subject: Optional fields
Date: Tue, 16 Jan 2001 09:57:20 -0500
Message-ID: <852569D6.00522920.00@linmail.hartehanks.com> (raw)

I have form that is used for searching a table of phone numbers.  I want the
user to be able to search by first name, last name, manager, extension,
building, title, and department,  These are all fields in the employee table.
But i don't want to have any requred fields.  I was wonder what would be the
best way to query the table by ony filling in a few of the fields in the form.
I want to use "and" in my sql statement.  Does anyone have any suggestions on
where I can start?

Thanks,
Tim.





view thread (3+ messages)  latest in thread

Message-ID: <852569D6.00522920.00@linmail.hartehanks.com>
Permalink:  ../852569D6.00522920.00@linmail.hartehanks.com/
Also on:    postgresql.org/message-id/852569D6.00522920.00@linmail.hartehanks.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: Timothy_Maguire@hartehanks.com
  Subject: Re: Optional fields
  In-Reply-To: <852569D6.00522920.00@linmail.hartehanks.com>
  References: <852569D6.00522920.00@linmail.hartehanks.com>

* 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