A Wee Tiny Blog

Home || Downloads || Documentation || Change Log || License || Roadmap || Contact


Method: GetMySQLError


This function takes no parameters


When something goes wrong with a query or database connection, A Wee Tiny Blog doesn't report the exact details. Instead, you'd have to use GetConnection and mysqli_error to find out more information.

This method is a shortcut, allowing you to get the error information without having to deal with a MySQL function yourself.

Note: In later versions of A Wee Tiny Blog, you'll be able to choose which MySQL handling system to use, so it might be better to use this function rather than tie yourself to a specific system.

Return value

If there was no error, then an empty string is returned. Otherwise, this method returns a string describing the last MySQL error.


Hosting generously provided by
Get A Wee Tiny Blog at SourceForge.net. Fast, secure and Free Open Source software downloads