logotype

Connexion

Affiche toutes les tables d'une base de donnée

print '<select name="table">';
$sql = "SHOW TABLES;";
$db->fetch($sql);
while ($db->hasnext())
{
    $tuple = $db->next();
    print '<option value="'.$tuple["Tables_in_unif"].'">'.$tuple["Tables_in_unif"].'</option>';
}                                    
print '</select>';

You have no rights to post comments