如何将 css 样式添加到此表单的下拉列表中?我在互联网上搜索了很多,但没有找到有用的结果。谢谢
echo "<form method='post' action='advisor.php?view=$view'>
Select Student: <select name='data'>";
while($row = mysqli_fetch_array($query))
{
echo "<option value=\"".$row[3] . "\">".$row[0] ." " . $row[1] . " (".$row[3].")".
"</option>";
}
echo " </select>
<input type='submit' name='submit' class='buttonM' value='Show Questions' />
</form>";
}