Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

DB2 PHP Generator online Help

Prev Return to chapter overview Next

GetConnection

Returns the connection object (an instance of the EngConnection class).

 

Signature:

function GetConnection()

 

Example:

To get the list of available databases, use the following code:

 

$queryResult = array();

$this->GetConnection()->ExecQueryToArray('SHOW DATABASES', $queryResult);



Prev Return to chapter overview Next