반응형
Notice
Recent Posts
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
관리 메뉴

리뷰하고 기록하기

php_selectSubmit 본문

beauty

php_selectSubmit

프로이센 2014. 11. 21. 23:27
반응형

셀렉트로 서브밋


<form method=post action='./store.monthly.php' name='search_m'>

<select name='month_search' onchange=submit()>

<?

for($i=1;$i<=date('m');$i++){

echo "<option value='$i' ";

if($month_search==$i){echo "selected";}

else if(!$month_search&&date('m')-1==$i){echo "selected";}

echo " >$i</option>";

}

?>

</select>월 주문내역 검색

</form>

반응형

'beauty' 카테고리의 다른 글

php_layerPop  (0) 2014.11.21
php_cutStr  (0) 2014.11.21
php_selectOpen  (0) 2014.11.21
jquery_onlyNumber  (0) 2014.11.21
mysql_replace  (0) 2014.11.21