Ina: ob table MYSQL Beispiel existiert

Beitrag lesen

Hi Struppi,

Hab's geschafft !

$tabsth2 = $dbh->table_info();
    while ($table = $tabsth2->fetchrow_arrayref) {
 $sth2 = $dbh->prepare("SELECT * FROM @$table[2]");
 $sth2->execute();
$tisch =@$table[2];

if($tisch eq 'Bespiel_Tabelle'){
push(@istda, "$tisch")
}else{push(@istda, "")}

}

print "<H3>@istda</H3>";

Vielen dank für Deine Hlfe

Ina