※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.126.63.16
※ 編輯: arrack 來自: 59.126.63.16 (05/19 16:23)
恕刪
如果你會把mysql的資料讀取出來...
那麼改成下拉式方塊,也只是加上<option>而已
<select>
<?
$sql="select * from xxx where xxxx";
$rs=mysql_query($sql);
while ($row=mysql_fetch_array($rs)){
?>
<opiton value="<?=$row["xxx"]?>"><?=$row["XXX"]?></option>
<?
}
?>
</select>
--