[FX.php List] Displaying error codes

Andy Gaunt andy at fmpug.com
Tue Apr 4 09:50:17 MDT 2006


Try

$QueryResult['errorCode'];

Where QueryResult is the result of your FX query.

Also, you can use

Print_r($QueryResult);

To see the array printed to screen (view the source code to help make sense
of the returned data.

HTH

Andy Gaunt
T: 407.810.4722
andy at fmpug.com
http://www.fmpug.com    

Recipient of FileMaker's 2005 "Mad Dog" Public Relations Award

For chapter locations, dates & times please visit the website at
http://www.fmpug.com If you can make it to a meeting, please RSVP at
http://www.fmpug.com/rsvp.php


-----Original Message-----
From: fx.php_list-bounces at mail.iviking.org
[mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Daniel Bruell
Sent: Tuesday, April 04, 2006 11:38 AM
To: FX.php Discussion List
Subject: [FX.php List] Displaying error codes

Greetings,
I'm new to FX-PHP  and PHP in general.   I'm getting a blank response  
page to a 'create new record' action.  Before I send my code, was  
wondering how to get FX-PHP to return an error code on a response page.

thanks in advance,
Dan




Dan Bruell
dbruell at comcast.net

"Don't be afraid to try something new;  amateurs built the Ark,  
professionals built the Titanic."



_______________________________________________
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