[FX.php List] How do I specify an "Exactly Equal To" search?
Tim 'Webko' Booth
tim at nicheit.com.au
Mon Nov 14 13:06:32 MST 2011
>
> Jon's original answer is quite correct because this isn't a PHP
> comparison which is being run but an FMP one… you can use any/all of
> the 'usual' FMP comparison operators by prepending them (almost) as
> Jon showed.
Jon was using the FM Studio syntax, where the find is set up as an
array, and then performed.
> The correct syntax for fx.php is
>
> $find->AddDBParam('_kf_userID',"==".$userID);
Just checking - in my experience, that's the same as:
$find->AddDBParam('_kf_userID',"=".$userID, 'eq');
Where the third part is the FM operator (eq, bw, lt)... Correct?
Cheers
Webko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20111115/c819204b/attachment.html
More information about the FX.php_List
mailing list