Re: case insensitive search

From: Jon Hassen <jhassen(at)azstarnet(dot)com>
To: arun kv <arun(at)library(dot)iisc(dot)ernet(dot)in>, PGSQL <pgsql-php(at)postgresql(dot)org>
Subject: Re: case insensitive search
Date: 2002-03-15 17:36:41
Message-ID: l03130300b8b7e173dd3f@[169.197.62.6]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Have you looked in the manual?

Try: 'where ILIKE 'searchword';

At 12:01 PM +0530 3/15/02, arun kv wrote:
>hello,
> how to do a case insensitive search on postgresql database. i will
>enter a keyword in text field and it has to search for that keyword in
>keywords field of table and should be case insensitive.
>
>can i use egrei() function. if so how.here two attributes should be
>strings. but first attribute i will get from previous php page and second
>attribute is field name of database table. how do i do this.
> pls help me
> thanking you
> Arun
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org

In response to

Browse pgsql-php by date

  From Date Subject
Next Message timothy_maguire 2002-03-15 17:40:34 Re: case insensitive search
Previous Message knut.suebert 2002-03-15 17:33:41 Re: case insensitive search