pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Fitzmyers <jeff.fitzmyers@managestar.com>
To: rickf <rickf@dufferinresearch.com>
To: pgsql-php@postgresql.org
Subject: RE: Wildcard queries via PHP4
Date: Fri, 6 Apr 2001 16:39:03 -0700
Message-ID: <371EAC487A83CD4296F6999FD088D83305895B@atlas.managestar.com> (raw)

This works for me on 7.1 beta 6; php-4.0.4pl1

$sql="SELECT * 
 FROM customer 
 WHERE $look_in ~*'$text' AND
  mbewbe='$mbewbe' AND
  c_state $query_location
 ORDER BY company_name;";

jeff fitzmyers
>>>>

For whatever reason the *~ matching does not work in PHP4 (ie surname *~
)
(or more precisely I can't get it to work >>>>>>



view thread (7+ messages)  latest in thread

Message-ID: <371EAC487A83CD4296F6999FD088D83305895B@atlas.managestar.com>
Permalink:  ../371EAC487A83CD4296F6999FD088D83305895B@atlas.managestar.com/
Also on:    postgresql.org/message-id/371EAC487A83CD4296F6999FD088D83305895B@atlas.managestar.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: jeff.fitzmyers@managestar.com, rickf@dufferinresearch.com
  Subject: Re: Wildcard queries via PHP4
  In-Reply-To: <371EAC487A83CD4296F6999FD088D83305895B@atlas.managestar.com>
  References: <371EAC487A83CD4296F6999FD088D83305895B@atlas.managestar.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