Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: How do i alter the sql search

Quote Reply
Re: How do i alter the sql search In reply to
You can't assign something to $in->param like that. What you need to do is:

$in->param('query', $in->param('query') . $in->param('query2'));

which is pretty ugly. =)

Am I missing something, or can you not just do:

search.cgi?query=bikes&location=Vancouver

That will search for all records that match 'bikes' and are in location=Vancouver where location is a field.

Cheers,

Alex
Subject Author Views Date
Thread How do i alter the sql search jasonx 4432 Feb 25, 2000, 3:42 PM
Post Re: How do i alter the sql search
pugdog 4329 Feb 25, 2000, 5:07 PM
Post Re: How do i alter the sql search
jasonx 4318 Feb 25, 2000, 6:16 PM
Post Re: How do i alter the sql search
Bmxer 4323 Feb 26, 2000, 11:41 AM
Post Re: How do i alter the sql search
jasonx 4343 Feb 27, 2000, 7:22 PM
Post Re: How do i alter the sql search
jasonx 4321 Feb 28, 2000, 12:36 AM
Post Re: How do i alter the sql search
Karen 4334 Feb 28, 2000, 5:29 AM
Post Re: How do i alter the sql search
pugdog 4333 Feb 28, 2000, 9:36 AM
Post Re: How do i alter the sql search
pugdog 4319 Feb 28, 2000, 6:18 PM
Post Re: How do i alter the sql search
jasonx 4326 Feb 28, 2000, 8:14 PM
Post Re: How do i alter the sql search
pugdog 4327 Feb 29, 2000, 7:27 AM
Post Re: How do i alter the sql search
Alex 4332 Feb 29, 2000, 7:34 PM
Post Re: How do i alter the sql search
jasonx 4332 Mar 1, 2000, 10:29 AM
Post Re: How do i alter the sql search
pugdog 4335 Mar 1, 2000, 5:11 PM
Post Re: How do i alter the sql search
klangan 4321 Mar 1, 2000, 7:49 PM