<select id="redate" name="redate">
<option value="">선택</option>
<option value="20140925" <?if($row['redate'] == "20140925"){?>selected = "selected"<?}?>>2014. 9.25</option>
<option value="20140926" <?if($row['redate'] == "20140926"){?>selected = "selected"<?}?>>2014. 9.26</option>
<option value="20140927" <?if($row['redate'] == "20140927"){?>selected = "selected"<?}?>>2014. 9.27</option>
<option value="20141001" <?if($row['redate'] == "20141001"){?>selected = "selected"<?}?>>2014.10.01</option>
<option value="20141002" <?if($row['redate'] == "20141002"){?>selected = "selected"<?}?>>2014.10.02</option>
<option value="20141003" <?if($row['redate'] == "20141003"){?>selected = "selected"<?}?>>2014.10.03</option>
<option value="20141004" <?if($row['redate'] == "20141004"){?>selected = "selected"<?}?>>2014.10.04</option>
</select>
'HTML 및 PHP JSP CSS JAVASCRIPT JQUERY 짬뽕' 카테고리의 다른 글
CSS 선택자 정리 (0) | 2020.05.07 |
---|---|
Spring MVC CAFE24 톰캣 웹 서비스 하기 (0) | 2019.11.21 |
게시글 이미지클릭 전화걸기 (0) | 2019.06.04 |
스프링 알바티스 SQL 한글 깨짐 (0) | 2016.01.13 |
부트스트랩 (0) | 2015.04.08 |