2026, 새로운 도약을 시작합니다.

레벨4이상 또는 자신의글일경우 if문 채택완료

9년 전 조회 3,441

 

</strong></p><p><span style="font-size: 14.6667px;"><? if($member[mb_id] == $list[$i][mb_id] || $member[mb_level] > 4) { ?></span><strong style="color: rgb(127, 127, 127); font-family: 돋움, Dotum, sans-serif; font-size: 12px; line-height: normal;">
</strong></p><p><span style="font-size: 14.6667px;"><?php </span><span style="font-size: 14.6667px; line-height: 1.5;">echo $wr_name[mb_nick];?></span></p><p><span style="font-size: 14.6667px;"><?php } else {?></span></p><p><span style="font-size: 14.6667px;">***</span></p><p><span style="font-size: 14.6667px;"><?php }?></span></p><p><strong style="color: rgb(127, 127, 127); font-family: 돋움, Dotum, sans-serif; font-size: 12px; line-height: normal;">
 

 

레벨4이상 또는 자신의글일경우 닉네임 출력

비회원이라면 *** 표시

 

관리자일때나 레벨5일때 또는 자신의 글이 존재할때는 출력이 되는데

비회원일땐 ***가 안나오는데 뭐가 잘못됬죠 ㅠㅠ?

답변 1개

채택된 답변
+20 포인트

list.skin.php 에서 테스트하면 정상적으로 *** 출력되는데요..

이 소스 앞뒤 상황을 알아야 할 듯 합니다...

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

다른 쿼리문들과 충돌나서 그랫네요

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록

🐛 버그신고