답변 3개 / 댓글 3개
채택된 답변
+20 포인트
복사한 파일에서 반복문이 시작되는 아래 부분 찾으셔서
<?php
for ($i=0; $row=sql_fetch_array($result); $i++) {
if ($row['mb_level'] != 8) continue;
빨간색 코드부분 추가해 주세요.
답변에 대한 댓글 3개
<?
include_once('./_common.php');
if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.');
?>
<table border="1">
<tr>
<th>아이디</th>
<th>이름</th>
</tr>
<?
$sql = sql_query("select * from {$g5['member_table']} where mb_level = '8'");
while($list = sql_fetch_array($sql)) {
?>
<tr>
<td><?=$list['mb_id']?></td>
<td><?=$list['mb_name']?></td>
</tr>
<?
}
?>
</table>
답변을 작성하려면 로그인이 필요합니다.