Re: [PHP] How to determine which column "matched"

2008-04-12 Thread Stut
On 12 Apr 2008, at 04:25, Rob Gould wrote: I'm trying to figure out a way that SQL can pass a flag to PHP to say which column "matched" during a query. Let's say for instance that I want to search for the word "apple" in both column "producer", and column "designation". I was hoping I cou

Re: [PHP] How to determine which column "matched"

2008-04-11 Thread Robert Cummings
On Fri, 2008-04-11 at 23:42 -0400, Robert Cummings wrote: > On Fri, 2008-04-11 at 20:25 -0700, Rob Gould wrote: > > I'm trying to figure out a way that SQL can pass a flag to PHP to say which > > column "matched" during a query. > > > > Let's say for instance that I want to search for the word

Re: [PHP] How to determine which column "matched"

2008-04-11 Thread Robert Cummings
On Fri, 2008-04-11 at 20:25 -0700, Rob Gould wrote: > I'm trying to figure out a way that SQL can pass a flag to PHP to say which > column "matched" during a query. > > Let's say for instance that I want to search for the word "apple" in both > column "producer", and column "designation". I

Re: [PHP] How to determine which column "matched"

2008-04-11 Thread Bojan Tesanovic
Why so complicated On Apr 12, 2008, at 5:25 AM, Rob Gould wrote: I'm trying to figure out a way that SQL can pass a flag to PHP to say which column "matched" during a query. Let's say for instance that I want to search for the word "apple" in both column "producer", and column "designatio