[FX.php List] Using '=='.$val) for query instead of $val,eq)

Joel Shapiro jsfmp at earthlink.net
Mon Oct 16 16:36:22 MDT 2006


Hi all

(today's my ask FX.php list questions day ;)

In a query, I want to prevent "van" from finding "van dyke" (so that  
a user must enter "van dyke").

The best way I've found to do this is:
$pers->AddDBParam('NameLast','=='.$lname);

since
$pers->AddDBParam('NameLast',$lname,eq);
doesn't restrict my query the way I need.

Is this kosher?  Any comments?

TIA,
-Joel


Joel Shapiro - FileMaker Pro Database Design
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
joelshapiro at jsfmp dot com
http://www.jsfmp.com
415-269-5055




More information about the FX.php_List mailing list