RISOLTO RISOLTO!!!
SHOW TABLE STATUS LIKE 'foto' è utilissimo da fuori una tab con tutti questi dati:Codice PHP:
<?
include("../connection/configdb.php");
include("../connection/connetti.php");
$result = mysql_query("SHOW TABLE STATUS LIKE 'foto'");
$row = mysql_fetch_array($result);
echo $row['Auto_increment'];
include("../connection/disconnetti.php");
?>
Name
Engine
Version
Row_format
Rows
Avg_row_length
Data_length
Max_data_length
Index_length
Data_free
Auto_increment
Create_time
Update_time
Check_time
Collation
Checksum
Create_options
Comment