[FX.php List] Fix for interesting search...

Bob Patin bob at patin.com
Fri Jan 26 20:10:27 MST 2007


Now see, I knew there was a better way. My way wasn't working right  
anyway... :)

I didn't realize that quotes would work like that in PHP...

Thanks, Dan!

Bob


On Jan 26, 2007, at 8:26 PM, DC wrote:

> On Jan 26, 2007, at 9:10 PM, Bob Patin wrote:
>> Anyone think of an easier way to do this sort of search? :)
>
> Hi Bob,
>
> why not use double quotes and an equals sign in your FX query?
>
> i forget the exact syntax OTTOMH but something like this:
>
> AddDBParam('fieldname', '="'.$category_to_search_on.'"');
>
> concatenating the equals and the double quotes tells FMP to look  
> for the literal string. try it in an FMP layout in a regular find  
> request to verify the proper syntax.
>
> in your example it would be:
> ="Diamond Bracelets"
>
> dan
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20070126/34680e81/attachment.html


More information about the FX.php_List mailing list