Help with showing tables in DB

From: Date: Tue, 26 Feb 2002 21:02:20 +0000
Subject: Help with showing tables in DB
Groups: php.general 
Request: Send a blank email to php-general+get-86311@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Consider the following: mysql_select_db($db_name); $result = mysql_query("show tables"); while ($rows = mysql_fetch_object($result)) { echo $rows; } So why does this not return the Table names? I have even tried "echo rows->Table" and "echo rows->Tables" to no avail. So how do I fix this? Thanks in advance, Ron C. -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQA/AwUBPHv32kSpEYIqgLQzEQISfQCeLVinx7oQc4Gmudv1MJbb17dGCPoAnA7S yRR86rJUwHsXGJlU0yVckVyK =2bva -----END PGP SIGNATURE-----

« previous php.general (#86311) next »