RE: [PHP] Help with showing tables in DB

2002-02-26 Thread SHEETS,JASON (Non-HP-Boise,ex1)
, February 26, 2002 2:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Help with showing tables in DB -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)) {

[PHP] Help with showing tables in DB

2002-02-26 Thread Ron Clark
-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->T