, 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)) {
-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
2 matches
Mail list logo