소스 문의 드립니다. 정보
소스 문의 드립니다.본문
            
            
                        오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.
                    
        
                
                
    오류 주소 :
<?
			$image = $list[$i][file][0][file]; //원본
			$img=$data_path. "/".$image;  //썸네일이 없을경우 원본출력
				echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"<td width='$col_width%' height='110' align='center' valign='top'>".$list[$i][icon_reply]."<table width='130' cellpadding='0' cellspacing='0' border='0' style='background-repeat:no-repeat; background-image:url(./img/bg.gif);'><tr><td valign='top' align='center' height='100'><table width='100%' cellpadding='0' cellspacing='0' border='0'><tr><td valign='middle' align='center' height='36'><a href='{$list[$i]['href']}'><div style='font-size:11px; font-family:돋움, 굴림; letter-spacing:-0.1em; word-break:break-all; color:#000; width:118px; font-weight:bold;'><font color=000>{$list[$i]['wr_subject']}</font></a></div></td></tr><tr><td valign='middle' align='center' height='65'><div style='font-size:11px; width:110px; text-align:center; font-family:돋움, 굴림; color:#000; word-break:break-all; letter-spacing:-0.05em;'><a href='{$list[$i]['href']}'><font color=000>{$list[$i]['wr_10']} / {$list[$i]['wr_2']} / {$list[$i]['wr_1']} / ".intval($list[$i]['wr_13'])."㎡</font><여기요></a></div></td></tr></table></td></tr></table></td>\";";
			if($i+1 == count($list))
			echo "JUMPOPREMIUM.item[$j] = JUMPOPREMIUM.item[$j] + \"</tr></table>\";";
			
	 } 
	 
	 
	 
	 
	 ?>
위 소스에 <여기요> 부분에 아래 소스를 넣어야 하는데 에러가 납니다.
위 소스와 코드형식이 달라서 그런데 대충 넣으면 데이터는 나오는데 IF를 인식을 못합니다.
<? if ($list[$i]['wr_21'] != '') {	?>
            <?=$list[$i]['wr_21']?>
            <? } ?>
            <? if ($list[$i]['wr_22'] != '') {	?>
            <?=$list[$i]['wr_22']?>
            <? } ?>
            <? if ($list[$i]['wr_23'] != '') {	?>
            /
            <?=$list[$i]['wr_23']?>
            <? } ?>
댓글 전체

                    어떤에러가 나오는지 정확히 알려주세요!                            
            
            
            
                        
            
                    
                    데이터는 나오는데 IF를 인식을 못합니다 ^^                            
            
            
            
                        
            
                    
                    echo 문 전에 
<여기요> 부분에 {$list[$i][wr_2_temp]}
이렇게 해보세요
            
            
            
                        
            
                    
 if ($list[$i]['wr_21'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_21'];
 else if ($list[$i]['wr_22'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_22'];
 else if ($list[$i]['wr_23'] != '') $list[$i][wr_2_temp] = $list[$i]['wr_23'];
<여기요> 부분에 {$list[$i][wr_2_temp]}
이렇게 해보세요
                    제가 부족해서 그런지 잘 응용을 못하겠어요 ^^;;                            
            
            
            
                        
            
                    