Methods

connect()

connect() 

createDatabase()

createDatabase(  $host,   $user,   $password,   $dbname,   $dropit = false) 

Parameters

$host
$user
$password
$dbname
$dropit

disconnect()

disconnect() 

nextRow()

nextRow(  $result = false) 

Parameters

$result

Insert_ID()

Insert_ID() 

Affected_Rows()

Affected_Rows() 

getMsgError()

getMsgError(  $query = false) 

Parameters

$query

getNumberError()

getNumberError() 

getVersion()

getVersion() 

_escape()

_escape(  $str) 

Parameters

$str

set_db()

set_db(  $db_name) 

Parameters

$db_name

hasTableWithSamePrefix()

hasTableWithSamePrefix(  $server,   $user,   $pwd,   $db,   $prefix) 

Parameters

$server
$user
$pwd
$db
$prefix

tryToConnect()

tryToConnect(  $server,   $user,   $pwd,   $db,   $newDbLink = true,   $engine = null,   $timeout = 5) 

Parameters

$server
$user
$pwd
$db
$newDbLink
$engine
$timeout

getBestEngine()

getBestEngine() 

checkCreatePrivilege()

checkCreatePrivilege(  $server,   $user,   $pwd,   $db,   $prefix,   $engine = null) 

Parameters

$server
$user
$pwd
$db
$prefix
$engine

tryUTF8()

tryUTF8(  $server,   $user,   $pwd) 

Parameters

$server
$user
$pwd

checkAutoIncrement()

checkAutoIncrement(  $server,   $user,   $pwd) 

Parameters

$server
$user
$pwd

_query()

_query(  $sql) 

Parameters

$sql

_numRows()

_numRows(  $result) 

Parameters

$result

getAll()

getAll(  $result = false) 

Parameters

$result