$val = mysql_query("SELECT 1 FROM {TABLO_ADI}");

if( $val === FALSE ) {
// TABLO VAR
}

// yada

if( $var !== FALSE ) {
// tablo yok
}


http://stackoverflow.com/questions/6432178/how-can-i-check-if-a-mysql-table-exists-with-php