[FX.php List] FX_Error in iis only

Leo R. Lundgren leo at finalresort.org
Fri Jul 10 12:33:06 MDT 2009


10 jul 2009 kl. 19.54 skrev John Funk:

> $result =$request->FMFind();
> $records =$result['data'];

the $result you get back from $request->FMFind() is an instance of the  
class FX_Error, and the problem is that you're not checking for this  
but presuming that the result is not an error, and you try to use it  
as an array in the second line.

As Jonathan said, implement error checking. I'm sure the appropriate  
code is described in the FX documentation :)

-|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20090710/d13b9a18/attachment.html


More information about the FX.php_List mailing list