[FX.php List] Problem using the new DoFXAction

Andy Gaunt andy at fmpug.com
Sun Aug 21 07:00:44 MDT 2005


Hi guys -

 

I was playing with the new DoFXAction (or at least attempting to) and yet I
cannot get anything returned.

 

I keep getting the following error;

 

Notice: Undefined variable: returnData in path to file here\FX.php on line
1665

 

Here is the code from the FX.php at that line

 

  1662   // DoFXAction() is a general purpose action function designed to
streamline FX.php code

  1663  function DoFXAction ($currentAction, $returnDataSet = true,
$useInnerArray = false, $returnType = 'object')

 1664   {

  1665      return $this->FMAction($currentAction, $returnDataSet,
$returnData, $useInnerArray);

  1666  }

 

 

This is all I am trying to test (nothing crazy at this point)

 

<?php

 

include_once('FX/server_data.php');

include_once('FX/FX_v4.php');

include_once('FX/FMErrors.php');

 

$findAttendee = new FX ($serverIP, $webCompanionPort);

$findAttendee -> SetDBData('trial.fp7','web');

$findAttendee -> SetDBPassword('WebPassword','WebUName');

$findAttendeeResult = $findAttendee -> DoFXAction(FX_ACTION_FINDALL);

                        

$foundCount=  $findAttendeeResult['foundCount'];

                        

echo $foundCount;

 

foreach ($findAttendeeResult as $key => $showData) 

{

            echo $showData['First_name'];

            }

?>

 

 

Regards

 

Andy Gaunt

T: 407.810.4722

andy at fmpug.com

http://www.fmpug.com <http://www.fmpug.com/> 

 

September 22nd 2005, 7pm Orlando FMPug - It's the Post devCon show.

For other chapter locations, dates & times please visit the website at
http://www.fmpug.com <http://www.fmpug.com/> 

If you can make it to a meeting, please RSVP at
<http://www.fmpug.com/rsvp.php> http://www.fmpug.com/rsvp.php

 

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


More information about the FX.php_List mailing list