Home | Online Examples | Documentation | Forum | Page of Project | Download

TPLN Manual

DB functions

ParseDBRow
ParseDBField
DbConnect
ChangeConnection
DbClose
DoQuery
GetRowsCount
DBFetchArray
DBFetchAssoc
DBFreeResult
GetOne
GetNumFields
GetFields
GetFieldName
GetDBList
GetTableList

 

GetDBList

array GetDBList()

The GetDBList() function serves to obtain the name of databases of your server.


<?

include("TPLN/TPLN.php");

$TPLN = new TPLN;
$TPLN->DbConnect();
$bases = $TPLN->GetDBList();

for(
$i=0;$i<count($bases);$i++)
{
echo
"Base {$bases[$i]}<br>";
}

$TPLN->DbClose();

?>


TopTop