[FX.php List] How do I specify an "Exactly Equal To" search?

Malcolm Fitzgerald malcolm at notyourhomework.net
Mon Nov 14 15:24:53 MST 2011

On 15/11/2011, at 7:06 AM, Tim 'Webko' Booth wrote:

>> 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);

OK. Of course. That makes sense. 

> 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?

That it is weird ;-)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20111115/b68b4a96/attachment.html

More information about the FX.php_List mailing list