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

 

GetTableList

array GetTableList()

The GetTableList() function serves to obtain the name of tables of your database.


<?php

include("TPLN/TPLN.php");

$TPLN = new TPLN;
$TPLN->DbConnect();
$tables = $TPLN->GetTableList();

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

$TPLN->DbClose();

?>


TopTop