답변 3개
포문에서 쿼리를 날리거나 조건문을 넣거나 하면 될것같은데요
Copy
for($i=0; $row=sql_fetch_array($result); $i++){
$img = $row['wr_link1'];
..
..
.
$sf = sql_fetch("select bo_subject from g5_board where bo_table='$bo_table' ");
$bo_subject = $sf['bo_subject'];
.
if(count($img_arra)>1{
$img = $img_arr[0];
}
}
답변을 작성하려면 로그인이 필요합니다.

