포인트 아이콘 소스중.

· 20년 전 · 1613
$ic_guest = $list[$i][wr_name]; 이 부분에서
아래와 같이 list와 view를 같이 하려면 어떻게 해야될까요~
$list[$i][wr_name];
$view[wr_name];

$ic_guest = $list[$i][wr_name] & $voew[wr_name]; 이렇게 했더만 숫자 0이 나오네요. ㅡ.ㅡ

<?
function point_color($mb_id) {
global $g4, $member, $is_admin, $list, $i;
$sql = "select mb_nick,mb_name, mb_point, mb_level, mb_id from $g4[member_table] where mb_id='$mb_id'";
$result = sql_query($sql);
$data = sql_fetch_array($result);
$is_admin = is_admin($mb_id);
$ic_point = $data[mb_point];
$ic_mb_id = $data[mb_nick];//특정회원
$ic_guest = $list[$i][wr_name];

if($is_admin == 'super') //최고 관리자
{echo "".$ic_mb_id."";}
else if(!$ic_point) //비회원
{echo "".$ic_guest."";}
}
?>




초보라서 요. ^ ^;
답변 부탁드립니다. 계속 헤매고 있네요...
|
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
20년 전 조회 1,433
20년 전 조회 1,595
20년 전 조회 1,653
20년 전 조회 1,549
20년 전 조회 1,742
20년 전 조회 1,231
20년 전 조회 1,450
20년 전 조회 1,770
20년 전 조회 1,553
20년 전 조회 1,614
20년 전 조회 1,455
20년 전 조회 1,589
20년 전 조회 1,539
20년 전 조회 1,636
20년 전 조회 2,376
20년 전 조회 1,567
20년 전 조회 1,474
20년 전 조회 1,849
20년 전 조회 1,587
20년 전 조회 1,548