2) Guarda l'esempio alternativo al deprecato mysql_list_tables sul manuale.

Codice PHP:
$sql "SHOW TABLES FROM $dbname";
$result mysql_query($sql);

if (!
$result) {
    echo 
"DB Error, could not list tables\r\n";
    echo 
'MySQL Error: ' mysql_error();
    exit;
}

while (
$row mysql_fetch_row($result)) {
    echo 
"Table: {$row[0]}
"
;
}

mysql_free_result($result); 
http://it.php.net/manual/en/function...ist-tables.php