pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zhidian Du <duzhidian@hotmail.com>
To: pgsql-php@postgresql.org
Subject: search/select case-insensitivly.
Date: Mon, 21 Oct 2002 22:01:19 -0600
Message-ID: <F102Xb29dhyCHrmTiKT00001e1c@hotmail.com> (raw)

I want a PHP program to search case-insensitivly.

for example:
select Name from mytable where Name = '$Name';


Here $Name is what users' input maybe JOHN, john.  How to let it match John 
in table and find that record?


Thanks.

Zhidian Du





_________________________________________________________________
Surf the Web without missing calls! Get MSN Broadband. 
http://resourcecenter.msn.com/access/plans/freeactivation.asp




view thread (7+ messages)  latest in thread

Message-ID: <F102Xb29dhyCHrmTiKT00001e1c@hotmail.com>
Permalink:  ../F102Xb29dhyCHrmTiKT00001e1c@hotmail.com/
Also on:    postgresql.org/message-id/F102Xb29dhyCHrmTiKT00001e1c@hotmail.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: duzhidian@hotmail.com
  Subject: Re: search/select case-insensitivly.
  In-Reply-To: <F102Xb29dhyCHrmTiKT00001e1c@hotmail.com>
  References: <F102Xb29dhyCHrmTiKT00001e1c@hotmail.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