if(mysql_num_rows(mysql_query("SHOW TABLES LIKE '".TableName."'"))!=1){
echo 'The table :'.TableName.' not exist';
}else{
echo 'The table :'.TableName.' exist';
}
if(mysql_num_rows(mysql_query("SHOW TABLES LIKE '".TableName."'"))!=1){
echo 'The table :'.TableName.' not exist';
}else{
echo 'The table :'.TableName.' exist';
}