File path: dist/twist/Core/Models/Database/ProtocolMYSQL.model.php
Namespace: Twist\Core\Models\Database
connect
—
Name | Description |
---|---|
$strServer | n/a |
$strUsername | n/a |
$strPassword | n/a |
$strDatabase | n/a |
$strDatabase | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strServer = 'foo';
$strUsername = 'foo';
$strPassword = 'foo';
$strDatabase = 'foo';
$strDatabase = 'foo';
//Call the function connect with the example vars
$resProtocolMYSQL = new \Twist\Core\Models\Database\ProtocolMYSQL();
$resProtocolMYSQL -> connect($strServer, $strUsername, $strPassword, $strDatabase, $strDatabase);