Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

sdk_error

Usage: string sdk_error ()
Purpose: Returns the last error generated by IPB SDK.
Availability: IPB SDK 0.2

Returns the last error generated by IPB SDK. This can be useful in debugging scripts, and displaying a user-friendly message saying why something didn't work. Returns FALSE if there have been no errors.

This function was previously known as ipbsdk_error.

/* Displays the login error if a login didn't work */
if (!$SDK->login($username, $password, 1)) {
      echo $SDK->sdk_error();
}


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net