도와주세요..ㅠ_ㅠ 정보
도와주세요..ㅠ_ㅠ본문
<input type="radio" name="wr_11" id="wr_11_1" value="가능" checked><label for="wr_11_1">가능</label>
<input type="radio" name="wr_11" id="wr_11_2" value="불가능" <?=($write['wr_11']=='불가능' ? 'checked' : '');?>><label for="wr_11_2">불가능</label>
글쓰기 페이지 소스입니다. 이런 소스가 있습니다.
(게시판 스킨을 만들고 있는데요...
가능일경우 아이콘을 출력, 불가능을 경우 출력하고싶지 않은데..
if($list[$i]['wr_11'])
echo " <img src='$board_skin_path/img/icon_v_per.gif' border=0 />";
//echo " " . $list[$i][icon_new];
echo $nobr_end;
이렇게 출력해보았더니.. 두 경우 다 출력되더라구요..
어떻게 방법이 없을까요?
<input type="radio" name="wr_11" id="wr_11_2" value="불가능" <?=($write['wr_11']=='불가능' ? 'checked' : '');?>><label for="wr_11_2">불가능</label>
글쓰기 페이지 소스입니다. 이런 소스가 있습니다.
(게시판 스킨을 만들고 있는데요...
가능일경우 아이콘을 출력, 불가능을 경우 출력하고싶지 않은데..
if($list[$i]['wr_11'])
echo " <img src='$board_skin_path/img/icon_v_per.gif' border=0 />";
//echo " " . $list[$i][icon_new];
echo $nobr_end;
이렇게 출력해보았더니.. 두 경우 다 출력되더라구요..
어떻게 방법이 없을까요?
댓글 전체
if ($list[$i]['wr_11'] == '가능')
if($list[$i]['wr_11'] == '가능')
echo " <img src='$board_skin_path/img/01.gif' border=0 alt=' a '>";
else
echo " <img src='$board_skin_path/img/02.gif' border=0 alt=' b '>";
echo $nobr_end;
echo " <img src='$board_skin_path/img/01.gif' border=0 alt=' a '>";
else
echo " <img src='$board_skin_path/img/02.gif' border=0 alt=' b '>";
echo $nobr_end;
감사합니다. 감사합니다.