phpbar.de logo

Mailinglisten-Archive

[php] Tabellennamen

[php] Tabellennamen

andreas kempf aka 'amalesh' aka_(at)_bigfoot.de
Mon, 04 Oct 1999 18:02:40 +0200


On Mon, 04 Oct 1999 11:21:49 +0200, Michael Wiechert wrote:

>wie kann ich die Tabellennamen einer db in ein array unterbringen?

$result = mysql_list_tables("database");
$i = 0;
while ($i <= mysql_num_rows ($result))
{  $TabName[$i] = mysql_tablename ($result, $i);
	$i++;
}

ciao

amalesh
-- 
Anwendungsentwicklung mit C++ JAVA VB PHP ASP SQL POET SGML XML
http://www.living-source.com ~ ak_(at)_living-source.com ~ icq963380
Hamburg : Tel. 040-39904183 Fax. 040-39904328 Mob. 0170-4809618
Freiburg: Tel. 0761-152580  Fax. 0761-1525850


php::bar PHP Wiki   -   Listenarchive