답변 1개
채택된 답변
+20 포인트
10년 전
방법1
</p><p><?php</p><p><span style="font-size: 11pt; line-height: 1.5;">if ($board['</span><span style="font-size: 11pt; line-height: 1.5;">bo_skin'] == 'homzzang') {</span></p><p><span style="font-size: 11pt; line-height: 1.5;"> echo '홈짱 스킨';</span></p><p><span style="font-size: 11pt; line-height: 1.5;">} else if ($board['bo_skin'] == 'sir') {</span></p><p><span style="font-size: 11pt; line-height: 1.5;"> echo '그누 스킨';</span></p><p>}</p><p>?></p><p>
방법2
</p><p><span style="font-size: 14.6666669845581px; line-height: 1.5;"><?php</span></p><p style="font-size: 14.6666669845581px;">switch($board['bo_skin']) {</p><p style="font-size: 14.6666669845581px;"> case 'homzzang' :</p><p style="font-size: 14.6666669845581px;"> echo '홈짱 스킨';</p><p style="font-size: 14.6666669845581px;"> break;</p><p style="font-size: 14.6666669845581px;"> case 'sir' :</p><p style="font-size: 14.6666669845581px;"> echo '그누 스킨';</p><p style="font-size: 14.6666669845581px;"> break;</p><p style="font-size: 14.6666669845581px;"> default :</p><p style="font-size: 14.6666669845581px;"> break;</p><p style="font-size: 14.6666669845581px;">}</p><p><span style="font-size: 14.6666669845581px; line-height: 1.5;">?></span> </p><p><span style="font-size: 14.6666669845581px; line-height: 1.5;">
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
�
홈짱
10년 전
오늘도 내일도 님, 고맙습니다. ^^*
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인