[FX.php List] 'eq' isn't working

Bob Patin bob at patin.com
Thu Jul 19 15:34:53 MDT 2007


I've used the one I posted earlier a lot, especially with logins,  
where username and password need to be exact. I've had trouble with  
other iterations, but never with this one:

$instanceName->AddDBParam($field, "==".$searchTerm);

Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com

   CONTACT US VIA INSTANT MESSAGING:
      AIM or iChat: longterm1954
      Yahoo: longterm_solutions
      MSN: tech at longtermsolutions.com
      ICQ: 159333060



On Jul 19, 2007, at 3:51 PM, Carl Anderson wrote:

> I've run across the same problem.  What I have found works is:
>
> $instanceName->AddDBParam($field, "=".$searchTerm, 'eq');
>
> Note the inclusion of the concatenated equals sign before the  
> search term
> variable.
>
> Admittedly I haven't given this a go in some months, but it worked  
> in some
> limited testing.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070719/911239b7/attachment.html


More information about the FX.php_List mailing list