[FX.php List] Works in FX.php v4.2, breaks in v6

Leo R. Lundgren leo at finalresort.org
Mon Dec 16 11:33:15 MST 2013


What's wrong Dale, are your mind reading abilities turned off at the moment? ;-)


16 dec 2013 kl. 19.32 skrev Dale Bengston:

> Hi Leland,
> 
> In what way do “things break?”
> 
> Dale
> 
> On Dec 16, 2013, at 12:21 PM, LELAND LONG <lelandlong at me.com> wrote:
> 
>> Quick question hopefully someone can point out to me.
>> 
>> I've been using FX for many years now. When something works I don't mess with it. When I need to build a new set of webpages I usually copy over to the new site, pages from my last working site, and start tweaking; saves lot's of re-setting of everything up.
>> 
>> I say this to maybe illuminate why I have run into this problem.
>> 
>> I copy the new FX.php v6 library to a new website and start using my old code and things break.
>> Here's a basic example of the old code that works fine in v4.2:
>> 
>>  $newSheet=new FX($serverIP,$webCompanionPort);
>>  $newSheet->SetDBData('Recruiting.fmp12', 'FX_NewRecuit');
>>  $newSheet->AddDBParam('Name_First', $firstName);
>>  $newSheet->AddDBParam('Name_Last', $lastName);
>>  $newSheet->AddDBParam('-script', 'FX_NewApplicantScript');
>>  $newSheetResult=$newSheet->FMNew();
>> 
>>  $theError=$newSheetResult['errorCode'];
>>  if ($theError <> 0) { echo 'Error: '.$theError; }
>> 
>> How can I modify this simple setup to make it work in v6 ?
>> 
>> Plz and thank you.
>> 
>> Leland Long
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> 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