SELECT Tag 자동 생성
function replaceHtmlSelectTag( $name = 'select', $aryValue = Array(), $defaultSelect = '', $aryOption = null)
{
$ret = '<select id="'. $name .'" name="'. $name. '"';
if (isset($aryOption)) {
foreach ($aryOption as $key => $value) {
$ret .= ' '. $key . '="'. $value. '"';
}
}
$ret .= '>';
foreach ( $aryValue as $key => $value ) {
$default = '';
if ( strval($key) == strval($defaultSelect) ) {
$default = ' selected';
}
$ret .= '<option value="'. $key . '"';
$ret .= $default . '>'. str_replace( ' ', ' ', $value ) . "</option>";
}
$ret .= "</select>";
return $ret;
}
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 30 |
아우겐나이스
|
21년 전 | 4041 | |
| 29 |
아우겐나이스
|
21년 전 | 4431 | |
| 28 |
아우겐나이스
|
21년 전 | 3455 | |
| 27 | 21년 전 | 5821 | ||
| 26 | 21년 전 | 3092 | ||
| 25 | 21년 전 | 6071 | ||
| 24 | 18년 전 | 3642 | ||
| 23 | 21년 전 | 3629 | ||
| 22 | 21년 전 | 4240 | ||
| 21 | 21년 전 | 3812 | ||
| 20 | 21년 전 | 4213 | ||
| 19 | 21년 전 | 6672 | ||
| 18 | 21년 전 | 4731 | ||
| 17 | 21년 전 | 6980 | ||
| 16 | 21년 전 | 4165 | ||
| 15 | 21년 전 | 2621 | ||
| 14 | 21년 전 | 4963 | ||
| 13 | 21년 전 | 3395 | ||
| 12 |
Recluse
|
21년 전 | 3868 | |
| 11 |
아우겐나이스
|
21년 전 | 3564 | |
| 10 |
Recluse
|
21년 전 | 3388 | |
| 9 | 21년 전 | 3975 | ||
| 8 | 21년 전 | 5156 | ||
| 7 | 21년 전 | 4753 | ||
| 6 | 21년 전 | 5671 | ||
| 5 | 21년 전 | 4107 | ||
| 4 | 21년 전 | 4826 | ||
| 3 | 21년 전 | 4735 | ||
| 2 | 21년 전 | 3232 | ||
| 1 | 22년 전 | 4334 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기