判斷如果跟迴圈的id 一樣就echo selected <select name="city" id=""> <?php foreach($rows as $value){ ?> <option value="<?=$value["id"]?>" <?php ...
確定! 回上一頁