A Wee Tiny Blog

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



 

Method: GetConnection

Parameters

This function takes no parameters

Description

A Wee Tiny Blog needs a MySQL database in order to work. However, you might want to use this connection yourself for various reasons. In order to access this connection, simply call this method to retrieve a copy of the mysqli object A Wee Tiny Blog is using.

To attach a connection you've made yourself to any A Wee Tiny Blog object, use UseConnection.

Return value

When called, this method returns a copy of the MySQLi object stored within the A Wee Tiny Blog object. If you haven't connected it to a database yet, it returns NULL instead.


 

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