[ic] Custom SearchOP

Paul Jordan jordan at gishnetwork.com
Mon Sep 10 13:48:29 EDT 2007


interchange-users-bounces at icdevgroup.org wrote:
> Jon Jensen wrote:
>> On Mon, 10 Sep 2007, Paul Jordan wrote:
>> 
>>> Shouldn't this
>>> 
>>> my @pat = split(/,/, $pat);
>>> 
>>> Be:
>>> 
>>> my @pat = split(/\,/, $pat);
>> 
>> Why? There's nothing special about , in a regex. Or did you find a
>> problem with it? 
>> 
>> Jon


Sorry then, I guess I do not know the syntax for split.



> The split command works as expected when I use the SearchOp sub
> outside of Interchange.
> 
> Would be interested in how I could "achieve this with a Mysql query
> and the IN operator" when using a search form including the other
> coordinated search items. 
> 


Paul Jordan

Gish Network
  For Print, Web and Life
  t.626 285 7609 / f.866 401 2657
  paul at gishnetwork.com



More information about the interchange-users mailing list