Development Information

September 15, 2009

2.2.3 → 2.2.4

Filed under: Updates — judda @ 9:38 am

Functionality Improvement.

You are now able to retrieve any error messages returned by the database after a query has been run.  To make use of this function you can do the following:

$res = $db -> query ( “SELECT `hello` FROM `donotexist`” );

echo ( $db -> retrieveErrorMessage ( $res ) ); //This will only display the error message

or

print_r ( $db -> retrieveErrorMessage ( $res, FALSE ) ); //This will print out the entire exception object (click here for information on exceptions)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

ERROR: si-captcha.php plugin says GD image support not detected in PHP!

Contact your web host and ask them why GD image support is not enabled for PHP.

ERROR: si-captcha.php plugin says imagepng function not detected in PHP!

Contact your web host and ask them why imagepng function is not enabled for PHP.

Powered by WordPress