|
|
|
12년 전
|
조회 2,288
|
|
|
|
12년 전
|
조회 1,849
|
|
|
|
12년 전
|
조회 1,828
|
|
|
|
12년 전
|
조회 1,820
|
|
|
|
12년 전
|
조회 2,452
|
|
|
|
12년 전
|
조회 1,963
|
|
|
|
12년 전
|
조회 2,847
|
|
|
홈짱
|
12년 전
|
조회 2,048
|
|
|
홈짱
|
12년 전
|
조회 2,996
|
|
|
|
12년 전
|
조회 2,478
|
|
|
|
12년 전
|
조회 3,242
|
|
|
|
12년 전
|
조회 2,775
|
|
|
|
12년 전
|
조회 2,150
|
|
|
|
12년 전
|
조회 1,903
|
|
|
|
12년 전
|
조회 2,806
|
|
|
|
12년 전
|
조회 2,333
|
|
|
|
12년 전
|
조회 7,394
|
|
|
|
12년 전
|
조회 2,988
|
|
|
|
12년 전
|
조회 1,778
|
|
|
|
12년 전
|
조회 2,731
|
댓글 8개
참조하셔요
for구문 안에 넣으라는데 정확히 어디에 넣어야 할지 모르겠습니다 ㅜㅜ
<? //추천인 아이디 출력(비추천은 good -> nogood)
$sql = " select * from $g4[board_good_table] where bo_table ='$bo_table' and wr_id='{$list[$i][wr_id]}' and bg_flag='good' ";
$result = sql_query($sql);
while($row = sql_fetch_array($result)){
echo $row[mb_id]."|";
}
?>
$sql = " select * from $g4[board_good_table] where bo_table ='$bo_table' and wr_id='$wr_id' and bg_flag='good' order by bg_id desc ";
$result = sql_query($sql);
while($row = sql_fetch_array($result)){
echo $row[mb_id]."|";
}
?>
이렇게 하면 아이디값은 나오지 않나요?