With the SHOW TABLES MySQL query I ended up pulling an array of columns/rows of tables however only in PhpMyAdmin could I see the full list where as in the browser it appeared as though I could not get the second row with the second table's name...so in my mind last night I was unable to access a subarray in some sort of sense...?
Code: Select all
$check1 = mysql_query("SHOW TABLES FROM $db_name");Code: Select all
$result = mysql_query("SELECT count(*) FROM $db_name");
//$row = mysql_fetch_row($result);
echo $result;Then (if the table exists) {I want to determine if that table is empty}.
Suggestions please?