1: 2: 3: 4: 5: 6: 7:
$tables = mysql_list_tables („gegevensbestand“); $count = 0; terwijl ($count < mysql_numrows ($tables)) { echo mysql_tablename ($tables, $count). „“; $count++; }
1: 2: 3: 4: 5: 6: 7: 8:
$vQuery = mysql_query („TOON LIJSTEN“); terwijl ($vTable = mysql_fetch_array ($vQuery)){ druk „Lijst: “. $vTable [0]. ''; $vQuery2 = MYSQL_QUERY („TOON KOLOMMEN VAN“. $vTable [0]); terwijl ($vField = mysql_fetch_array ($vQuery2)){ druk „-“. $vField [0]. ''; } }