[FX.php List] question about returned result array
Alex Gates
alex at gandrpublishing.com
Mon Mar 19 14:08:26 MDT 2007
Thanks, guys -
I changed my query to this:
$lookup=new FX($serverIP,$webCompanionPort,'FMPro7');
$lookup->SetDBData('Web_Cookbook_Dev2.fp7','Web Data Table');
$lookup->SetDBPassword('xxxx','xxxx');
$lookup->AddDBParam('web_account_number',
$_SESSION['webaccountnumber']);
$lookupResult=$lookup->FMFind();
$foundResult=$lookupResult['foundCount'];
I still get the 401 error code - but as soon as I change the field type
to "text" in FileMaker, it finds it without a problem.
---
I found the problem, though -
I was using an older version of fx.php
I upgraded to the latest version and now it works fine.
-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Derrick Fogle
Sent: Monday, March 19, 2007 3:00 PM
To: FX.php Discussion List
Subject: Re: [FX.php List] question about returned result array
And, I might mention, number fields won't find on "123". Number
fields usually don't need any operator unless you're finding > or <.
Finding 1 will really only find 1. It won't find 10,11,12,1000, or
any other number that starts with 1 (like text finds do).
On Mar 19, 2007, at 2:54 PM, DC wrote:
> for some reason your search parameter has them. sometimes FX.php
> will add them if your search is specified with an 'eq' param.
Derrick Fogle
derrick at fogles.net
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list