有人可以帮忙吗?我不知道如何将 css 放入此选择中。继承人的代码:
贡萨洛席尔瓦
if(!isset($_POST['submeterTabela']) && !isset($_POST['submeterDados'])) {
$form ="<form action=\"$self\" method=\"post\">";
$form.="Selecciona Tabela<br><br><br><br>";
$result = $dbo->query("SHOW TABLES");
$form.= "<select name=Tabela>";
while ($row = $result->fetch(PDO::FETCH_NUM)) {
$form.= "<option value='$row[0]'>$row[0]</option>";
}
$form.= "</select>";
$form.="<input type=\"submit\" name=\"submeterTabela\" value=\"Submeter\">";
echo($form);
}