포인트 아이콘 소스중.

· 20년 전 · 1610
$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,431
20년 전 조회 1,593
20년 전 조회 1,649
20년 전 조회 1,543
20년 전 조회 1,737
20년 전 조회 1,228
20년 전 조회 1,449
20년 전 조회 1,767
20년 전 조회 1,550
20년 전 조회 1,611
20년 전 조회 1,452
20년 전 조회 1,588
20년 전 조회 1,537
20년 전 조회 1,633
20년 전 조회 2,374
20년 전 조회 1,564
20년 전 조회 1,471
20년 전 조회 1,847
20년 전 조회 1,585
20년 전 조회 1,545